Skip to content

issue: performance problems when I watch on a large number of forms #8116

@bigbigbo

Description

@bigbigbo

Version Number

7.29.0

Codesandbox/Expo snack

https://codesandbox.io/s/happy-merkle-10wkfj?file=/src/App.js

Steps to reproduce

  1. Hold Enter "123123123" into the input box
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions