State Management in React is often done using Redux. But what if I told you there is a simpler and more light weight alternative to it called Zustand, that even supports the redux devtools? Let's take a look!
I hope this video can help you. If it does then please consider subscribing and giving me some feedback.
Have a great day!
My GitHub: https://GitHub.com/N-Ziermann
My Website: https://n-ziermann.github.io?en
Timestamps:
00:00 What do we want to do?
00:42 Creating our Zustand Store
01:38 Integrating our store into React
03:00 Adding custom setter functions
04:24 Persisting our store using zustand middleware
05:20 Using the redux devtools with Zustand
06:39 Configuring how to modify state
Watch video Using Zustand as a Better Redux Alternative for React online without registration, duration hours minute second in high quality. This video was added by user Niklas Ziermann 14 November 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 868 once and liked it 25 people.