Skip to content

Best Practices for Storing Non-Reactive State in Zustand #2886

Answered by dai-shi
kkshinkai asked this question in Q&A
Discussion options

You must be logged in to vote

What's documented is transient updates.

I think what you are doing is fine as long as you understand it correctly, and I can see that from the comment. But, yeah, I wouldn't put it in the store as you implied.

In most cases, it doesn’t need to be exposed here.

What's the case you need to put it in the store?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kkshinkai
Comment options

@dai-shi
Comment options

Answer selected by kkshinkai
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