Hacker News new | ask | show | jobs
by ManuelHeL 1914 days ago
A provider-less context-less alternative: https://github.com/pmndrs/zustand
1 comments

without a provider you cannot run many instances of the same store in the same App. (that's how I can run 3 times the same App in my demo https://taverne.uralys.com/demo)

zustand inspired me a lot to create the custom hooks for La Taverne, and you can also create your {store, dispatch} to use anywhere without React (and providers)