Closed joaopedrosdmm closed 10 months ago
``Congrats. Great project.
I'm looking for a way to implement zundo with local storage.
I have the following code
export let useStore = create( persist( (set) => ({ bear: {}, addBear.... ...... ...... ...... }), { name: 'global', getStorage: () => localStorage, //storage: () => localStorage.getItem('global', createJSONStorage), } ) )
And I would like to implement Zundo to this use case.
How should I go about doing this?
Let me know if you have any questions!
``Congrats. Great project.
I'm looking for a way to implement zundo with local storage.
I have the following code
And I would like to implement Zundo to this use case.
How should I go about doing this?