perf(FieldArray): add shouldComponentUpdate to cut down on unnecessary renders#3784
perf(FieldArray): add shouldComponentUpdate to cut down on unnecessary renders#3784jaredpalmer merged 2 commits intojaredpalmer:masterfrom
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