Mark Erikson
Sep 5, 2018 · 1 min read

The Redux DevTools actually work by storing the old actions and calculating the “current” state as you jump back and forth between actions, or undo them.

I’ve seen several different “undo/redo” implementations for Redux — the “recipe” page just happens to be one that was submitted to the docs. Here’s the undo/redo libraries section in my Redux addons catalog for comparison. I think there’s at least one or two in there that use the same kind of “revert this action” approach you’ve shown.