DEV Community

loading...
Cover image for Is Redux DEAD? Try Zustand!

Is Redux DEAD? Try Zustand!

marius profile image Marius Espejo ・1 min read

With the advent of hooks a lot of ReactJS developers have moved away from Redux as the default state management of choice.

However is simply using useState, useReducer, and the context API good enough? I highly recommend checking out Zustand! Dead simple and unopinionated state management!

Zustand is a small, fast and scaleable bearbones state-management solution. Has a comfy api based on hooks, isn't boilerplatey or opinionated, but still just enough to be explicit and flux-like.

In this video we're going to walk through the basics of using Zustand. We'll also discuss the pros and cons of this approach compared to reducer-based and context-based solutions like the useReducer hook and Redux.

Let me know what you think of Zustand!

Discussion (1)

pic
Editor guide
Collapse
marius profile image
Marius Espejo Author

As a follow up, I also explored Jotai recently: