A deep dive tutorial series on React,js Zustand - a State Management Library.
This video is about how to persist state locally with persist middleware
react zustand documentation:
https://docs.pmnd.rs/zustand/getting-...
react zustand persist middleware:
https://docs.pmnd.rs/zustand/integrat...
Github:
https://github.com/niftybytes4u/react...
(Please follow the commit history, each video is a commit. )
00:00 Introduction
00:20 saving a store state locally
02:48 saving store in other storages
04:20 saving only a part of states
08:35 order of the persist middleware