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

Reactive data may trigger recursive updates when created in template render. #12924

Open
rlsz opened this issue Feb 21, 2025 · 0 comments
Open
Labels
🐞 bug Something isn't working

Comments

@rlsz
Copy link

rlsz commented Feb 21, 2025

Vue version

3.5.13

Link to minimal reproduction

https://play.vuejs.org/#eNp9UktLJDEQ/iu1uWQGZnuQ3ZM7CvsQdvegooKXXGJ3dRtNJyGPdqDp/24lYVREvITU90jqq2RmP51rpoTsmO1C65WLEDAmdyqMGp31EWbw2G9okW1UE8ICvbcjcDJxYYRprQkRxjDASVau+F/U2sKt9br7wtfC9MmQ0xoYMN5giH9klEerNczCAFR3R1Cx1ztW87L+cWCtxkbbYcVTQFAGrEMvo/V8A1zLO9Q8o/mE6sm7phB0Iqcw9XTZR/Sk5EXkKaOvLqoXYXbbmp5yUxFxdFpGpApgd390Os8l4bLstlQVVBmXIkxfR9uhPhGMeMFgW8lOTdnzLnG2ZyZf9+YKtmExUNReDc1DsIbeosxGsNaOTmn0Fy4PMAh2XKeWOUlTfvpfsOgTbg54e4/t4wf4Q9hnTLBLjwH9hIK9cFF6arXSZ9fnuKf9C0kBkyb1J+QV0jOl3GOV/Uqmo7bf6Eq3/8qPUma4CWf7iCYcQuVGs3IpesHob/3+JPpru9+a78VHb8iWZ1n+7ug=

Steps to reproduce

Run, then catch error in console.

What is expected?

no recursive updates

What is actually happening?

recursive updates

System Info

Any additional comments?

bug conditions:

  1. create reactive data when template render
  2. access some prop with 'in' operator
  3. set value of that prop after the access
@edison1105 edison1105 added the 🐞 bug Something isn't working label Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants