DEV Community

Discussion on: State Management Battle in React 2021: Hooks, Redux, and Recoil

Collapse
 
redbar0n profile image
Magne • Edited

Valtio is the newest kid on the block. From the creator of Zustand and Jotai.

  • Pros:

  • Cons:

    • mutation based (no immutability...)
    • a bit magical
    • can have some performance overhead ref

Would be interesting to hear your opinion on Valtio.

For reference, here is a useful brief overview over the general approaches:

  • Flux (Redux, Zustand)
  • Proxy (Mobx, Valtio)
  • Atomic (Recoil, Jotai)