Re:Redux Alternative
by ManuelHeL on Tuesday March 23, 2021 @10:18AM
(#26555314)
A provider-less context-less alternative: https://github.com/pmndrs/zustand
[ Parent
| on HN ]
Re:Redux Alternative
by chrisdugne on Tuesday March 23, 2021 @05:31PM
(#26560647)
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)