An Interest In:
Web News this Week
- April 25, 2024
- April 24, 2024
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
April 18, 2021 07:10 pm GMT
Original Link: https://dev.to/marius/is-redux-dead-try-zustand-9g8
Is Redux DEAD? Try Zustand!
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!
Original Link: https://dev.to/marius/is-redux-dead-try-zustand-9g8
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To