Skip to content

what are the key differences zustand VS teaful #655

Closed Answered by drcmda
orenmizr asked this question in Q&A
Discussion options

You must be logged in to vote

it looks like a proxy store. zustand state is plain javascript object notation (json). if i have to deal with raw data and i want a non-proxy app backbone i'd pick zustand over anything that has proxies. if i need proxies i usually pick valtio. it seems to me that a proxy state with a zustand-like api surface is unnecessary (get/set api, selectors). at least @dai-shi has proven with valtio that it can be more reduced than basing proxy on traditional flux api. it uses a single hook useSnapshot and now you can pick and mutate state.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by orenmizr
Comment options

You must be logged in to vote
1 reply
@orenmizr
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
3 participants