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 · 6 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 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@posva
Comment options

@gunhaxxor
Comment options

@paro-paro
Comment options

@posva
Comment options

@paro-paro
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
5 participants