Zustand - create vs createStore
Avoid all these issues by going with an opinionated SaaS starter kit which tells you how to do things. I stand by Makerkit. You can 10x your speed from idea to creation. Now, you can actually start building instead of dreaming.
Introduction
We'll exp...
tuffstuff9.hashnode.dev4 min read
Adekunle Michael Ajayi
Memer | Software Engineer
Thanks you. Nicely explained. I'm new to zustand, so I'm trying to understand it. Does that means if I create a store with the "create" function, I can't use it in multiple component? why won't I just stick with useState in the component if that's the case. Also, If I have to create a react context for my zustand store, to make it globally available, why not just stick with react context alone since I can just manage my state and actions in there? as well, please make me understand it