-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf(FieldArray): add shouldComponentUpdate to cut down on unnecessary renders #3784
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 2f2a60f:
|
@jaredpalmer @probablyup maybe this should've been a breaking change? It broke our code because we have local state (a boolean popup toggle) that affects the |
If you could provide a failing test/reproduction to work from in a new issue and tag me that would be appreciated |
I also experienced breakage. Adding this for now restored behavior. I will look at the logic a bit more in this PR to see if I can find a clue |
* chore: add short contributor guide * revert: "perf(FieldArray): add shouldComponentUpdate to cut down on unnecessary renders (#3784)" Unfortunately this change introduced some unwanted behavior in deeply-composed JSX that relied on state other than that provided by Formik. This reverts commit 22e236e. * chore: fix playwright and update workflows * chore: try a different fix * chore: ignore webkit for now * chore: add changeset for revert
Closes #3295