-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
issue: performance problems when I watch on a large number of forms #8116
Copy link
Copy link
Closed
Description
Version Number
7.29.0
Codesandbox/Expo snack
https://codesandbox.io/s/happy-merkle-10wkfj?file=/src/App.js
Steps to reproduce
- Hold Enter "123123123" into the input box
- input content update is very solwly
Expected behaviour
I want to render a dynamic and a large number of forms, then I need watch on some form field change and setError other form field, setError is work but input content update is very solwly.
If I use registry with input, input is very smooth, but I need control form field. This performance problems occurred when I use Controler with antd inputcomponent.
How can I solve this performance problem when I use Controler with antd inputcomponent in this case?
What browsers are you seeing the problem on?
Chrome
Relevant log output
when I setError, the whole form field is rerender.
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels