Skip to content

Whether the pinia instance must be passed in to use onserverprefetch under ssr,and whether the failure to pass will cause status contamination #1991

Discussion options

You must be logged in to vote

Not in this case because you are within setup(). Passing the pinia on SSR is only necessary outside of setup to ensure the correct pinia context is used

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by guaqiu5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants