Skip to content

[question] whether can observe a state under zustand store, not in a component? #2957

Answered by dbritto-dev
liaodalin19903 asked this question in Q&A
Discussion options

You must be logged in to vote

@liaodalin19903 that's it

const store = createStore()

store.subscribe(...)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@liaodalin19903
Comment options

@dbritto-dev
Comment options

Answer selected by liaodalin19903
@dbritto-dev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants