Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What are the pros and cons of zustand-persist compared to the built in persistance? #8

Open
krstffr opened this issue Apr 21, 2021 · 3 comments

Comments

@krstffr
Copy link

krstffr commented Apr 21, 2021

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!

@Aaike
Copy link

Aaike commented Aug 12, 2021

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.

@gabimoncha
Copy link

Yes, this library was created before zustand had it's built-in middleware

@pvinis
Copy link
Contributor

pvinis commented Feb 15, 2022

maybe this issue can be pinned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants