You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently when I use the form, say about 100 fields, with half of them having a script. With empty defaultValues, the re-render is evidently slower(more than 5s and makes the browser hang) than the initial rendering.
Here I have a demo, on the top I have a button, which will do nothing but change a state and makes the page rerender. You can see the page got stucked for seconds and after a while you can finally see the clicking makes the selection button changed. Please refer to the demo below:
is the slowness happening only with empty defaultValues (this is ringing me a bell in the past while I was searching for a bug related to unintended re-renders)
can you share the form (I understand you may not want to share it here, can you send it to [email protected]?)
@guidone Hi, actually I have not yet tested the form with data, but I can share the form with you first, and will try it with data later and share the result with you.
Glad if this can help a little to find the bug, sent to your gmail ;-)
Hi, @guidone hope everything goes well!
Recently when I use the form, say about 100 fields, with half of them having a script. With empty
defaultValues
, the re-render is evidently slower(more than 5s and makes the browser hang) than the initial rendering.Here I have a demo, on the top I have a button, which will do nothing but change a state and makes the page rerender. You can see the page got stucked for seconds and after a while you can finally see the clicking makes the selection button changed. Please refer to the demo below:
form-performance.mov.zip
The text was updated successfully, but these errors were encountered: