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
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