Alexey Tuzov

Results 7 comments of Alexey Tuzov

> v2 should work with the persist middleware should, but how? 🤔 so far managed to get persist running of the main store but previous states do not get carried...

@charkour thanks for the quick reply! Unfortunately, wrapping temporal with persist does not work Would have been fantastic to have such an option to do so!

@charkour ive only started fiddling around with zustand & its ecosystem so not too too familiar with the way things work under the hood yet, so makes me wonder if...

@charkour created a quick and extremely dirty proof of concept for in-store temporal state https://github.com/SugarF0x/zundo

Damn, only now did i realize that instead of doing what i did i could have just modified current `getVanillaZundo` implementation to add other middlewares support :skull:

meant to say `createVanillaTemporal` i will fiddle around and see if that can be modified and should either of these two look promising, will get down to doing the typescript...

@charkour updated the implementation to support optional persist middleware on temporal store leaving the functionality almost intact and (hopefully) backwards compatible https://github.com/charkour/zundo/pull/61