Skip to content

Which store properties to return #2402

Closed Answered by posva
jdnz asked this question in Help and Questions
Sep 7, 2023 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

You need to return all ref(), reactive(), shallowReactive(). Anything that is state. You only need to return functions and computed that are used outside of the store.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@gunhaxxor
Comment options

@paro-paro
Comment options

@posva
Comment options

posva Jan 5, 2024
Maintainer

@paro-paro
Comment options

@zumm
Comment options

Answer selected by posva
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants