-
-
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
Input lag / many rerenders #1739
Comments
I run into a similar problem, and rolled my own "fast field" which looks like this...
|
@schrapel in v2 I don't believe fast field is implemented at this time. There is some movement on this PR: #1772 |
@ersel thanks for sharing your I put together a https://github.com/100ideas/100ideas-formik-playground |
No worries @100ideas , my pleasure. |
🐛 Bug report
Current Behavior
If I make a change to a input it re-renders all the fields 2 times (in the codesandbox example with the autosave component comment out). If I enable the autosave (as the codesandbox is when opened) if you make a change to an input it rerenders each field 6 times.
When I have 30 fields. It is doing thousands of rerenders :(
Expected behavior
When making changes to fields it should not be re-rendering the fields more than once and my understanding of FastField is that only the single field will re-render.
Reproducible example
https://codesandbox.io/s/adoring-boyd-zsfog?fontsize=14
Suggested solution(s)
I do not know
Your environment
The text was updated successfully, but these errors were encountered: