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

component object slots is readonly reactive, in render function cause error #10709

Closed
liuzw2579 opened this issue Apr 16, 2024 · 2 comments
Closed
Labels
🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. 🐞 bug Something isn't working regression scope: slots

Comments

@liuzw2579
Copy link

Vue version

3.4.22

Link to minimal reproduction

https://play.vuejs.org/#eNqNUsFuwjAM/RUrmtQiVUWDnRAgAeKwHbZp2zHSVFEDYW1SJS5DQv33OelgbBobt9jv2e/Zzl5Mqird1igGYugWVlUEDqmuxlKrsjKWYA8WlwnkuFQaZ4aTGjUlsIYGltaUEHF5JLXUC6MdgadMYPSzIN5LDaCzEgcQBU6U+IxFnaONOxBwH1NtNazjKFfbKAFaK5deucKQS7llVhcUdzqe20jd8ONUd3qB7vQf3eAtgX3zTfuc4uwCxdkFitNW8RMC39OPOoC4MxpDdN3r84o94A2cOBl226vxvTggLKsiI+QIYNj663Iw7J4gIhHkeIKlWqUbZzSfPshKseACVaB9qEjxhFIMDoakyIrCvN+FHNkaw0ShZo2Lt1/yG7fzOSkeLTq0W5TiiFFmV0gtPH++xx2/j2Bp8rpg9h/gEzpT1N5jS5vWOmfbJ7zg9jZ8YKVXL26+I9TuMJQ3GrYY+FLwB/a7Ojf6l91+enPYPm/xdYvW9+QFMpD2eqL5AIr6FP8=

Steps to reproduce

image

What is expected?

none

What is actually happening?

[Vue warn] Set operation on key "_ctx" failed: target is readonly. {default: ƒ}

image

children is readonly

System Info

No response

Any additional comments?

No response

@sodatea sodatea added 🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. regression labels Apr 16, 2024
@sodatea
Copy link
Member

sodatea commented Apr 16, 2024

Seems related to 6af733d

@quiteeasy
Copy link
Contributor

quiteeasy commented Apr 16, 2024

I've opened a PR to revert the changes from the commit 6af733d. In the PR description, I've also included a suggestion to rename the InternalObjectKey to a more descriptive name. I'm looking forward to the team's feedback on these proposed solutions.

@vuejs vuejs locked as resolved and limited conversation to collaborators Apr 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🍰 p2-nice-to-have Priority 2: this is not breaking anything but nice to have it addressed. 🐞 bug Something isn't working regression scope: slots
Projects
None yet
Development

No branches or pull requests

3 participants