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

storeToRefs broken in some edge cases since 2.2.5 #2829

Closed
DaleMckeown opened this issue Nov 11, 2024 · 1 comment
Closed

storeToRefs broken in some edge cases since 2.2.5 #2829

DaleMckeown opened this issue Nov 11, 2024 · 1 comment

Comments

@DaleMckeown
Copy link

Reproduction

working on it

Steps to reproduce the bug

working on it

Expected behavior

Upgrading from pinia 2.2.4 to 2.2.5 should not cause storeToRefs to throw errors.

Actual behavior

When upgrading from 2.2.4 to 2.2.5, the following error message is displayed and the page white screens, doesn't show any content.

 Slot "default" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead. 

Additional information

If I revert back to pinia 2.2.4 this issue goes away entirely. I suspect that this issue is caused by the changes made in #2795, which changes the way the ref is referenced.

Copy link
Member

posva commented Nov 11, 2024

Open a new issue once you have a repro. Please don’t open issues without repros as asked in the form

@posva posva closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2024
@vuejs vuejs locked and limited conversation to collaborators Nov 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants