zustand-persist
zustand-persist copied to clipboard
What are the pros and cons of zustand-persist compared to the built in persistance?
Hi!
I was looking for a persistance solution for zustand and found this repo as well as the built in https://github.com/pmndrs/zustand#persist-middleware. What are the pros and cons of zustand-persist
compared to the built in persistance?
Thanks!
I will just attempt to answer this one. I think this was created before zustand persist middleware was created (I believe it was added in zustand v3). I tried to use the zustand persist middleware in one of my projects but I couldn't because i was still on zustand v2.
Yes, this library was created before zustand had it's built-in middleware
maybe this issue can be pinned?