Skip to content

re-render performance issue #70

@ghoshorn

Description

@ghoshorn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions