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

Triple re-render of the Form.Item component content during mounting. #8029

Open
1 task
SL1V4 opened this issue Jan 29, 2025 · 4 comments
Open
1 task

Triple re-render of the Form.Item component content during mounting. #8029

SL1V4 opened this issue Jan 29, 2025 · 4 comments

Comments

@SL1V4
Copy link

SL1V4 commented Jan 29, 2025

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.6

Environment

Windows11, google 132.0.6834.111, vue 3.2.0

Reproduction link

Edit on CodeSandbox

Steps to reproduce

Follow the link and open the console tab.

What is expected?

I expect the console to output only a single "1".

What is actually happening?

However, it outputs three "1"s, indicating a triple re-render. In the context of a large form with 1000 fields, these three re-renders cause the page to render very slowly, taking around 30 seconds.

Is it possible to eliminate the unnecessary re-renders?

@zerescas
Copy link

I have the same problem; it significantly affects the app's performance.

@aleksandrovevgen
Copy link

+++
I have too

@afk-acc
Copy link

afk-acc commented Jan 29, 2025

+++

1 similar comment
@gRadif
Copy link

gRadif commented Feb 4, 2025

+++

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

5 participants