Dark Mode

Implementing Undo-Redo Functionality in Redux using Immer

Learn how to implement undo/redo functionality in a redux reducer using Immer – an immutable library that generates patches and inverse patches that allows us to move back and forth between the changes performed in the redux reducer.