mrmilu / react.base

Mr Milú's official starter template for React.js projects.
5 stars 0 forks source link

State management with jotai (proof of concept) #13

Closed arnaugomez closed 1 year ago

arnaugomez commented 1 year ago

I am going to submit a MR with an example of state management with jotai

Jotai comes out-of-the box with the possibility to restrict state to a given Provider scope, and autodispose the state when the Provider unmounts.

The possibility to create derived states is also an interesting feature.

hazzo commented 1 year ago

Finally decided to use zustand.