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
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