Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When there are many inputs, the form takes a long time to unmount. #712

Closed
ArtemBelousov152 opened this issue May 30, 2024 · 1 comment
Closed

Comments

@ArtemBelousov152
Copy link
Contributor

ArtemBelousov152 commented May 30, 2024

The problem is similar to this #471, but it occurs when unmounting a large number of inputs. detachFromForm is called a huge number of times.
I suggest using throttledValidateForm in detachFromForm, just like in attachToForm.
Снимок экрана от 2024-05-30 18-43-19

with throttledValidateForm:
Снимок экрана от 2024-05-30 19-10-45

without throttledValidateForm:
Снимок экрана от 2024-05-30 19-30-06

@ArtemBelousov152
Copy link
Contributor Author

@felixmosh Can you take a look please? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant