Y
Hacker News
new
|
ask
|
show
|
jobs
by
2bit
444 days ago
You can find a similar method in zundo, a zustand middleware for undo/redo. It has the concept of pastStates and futureStates.