Use Immer inversePatches to Build Undo Functionality

Share this video with your friends

Send Tweet

In our last lesson we will add another big feature, undo that works even when multiple users are present. We will build undo by using inverse patches, that are like patches, but can be used to replay from the next state to the previous state.