zustand-mutative icon indicating copy to clipboard operation
zustand-mutative copied to clipboard

Time travel

Open universse opened this issue 1 year ago • 5 comments

Hi, is there a possibility to have time travel functionality using this package, similar to use-travel?

universse avatar May 20 '24 08:05 universse

@universse We might consider implementing it, however, it may appear as a separate lib.

unadlib avatar May 21 '24 04:05 unadlib

cool. that's even better actually. was wondering why the core functionality was not a separate lib instead of being tied to react.

universse avatar May 21 '24 04:05 universse

Perhaps there might be a very small portion of logic that is similar, but overall, the implementation logic of these time travels varies depending on the update method of the third-party state lib.

unadlib avatar May 21 '24 17:05 unadlib

Was this ever implemented?

AndreyMay avatar Dec 28 '24 02:12 AndreyMay

I will start implementing it soon.

unadlib avatar Dec 29 '24 11:12 unadlib