The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Simple Undo/Redo with Immutable.js Data Structures

Simple Undo/Redo with Immutable.js Data Structures

8:35
Implementing Undo/Redo can be tricky business. Consider two strategies to simplify implenting undo/redo: 1) use immutable data 2) react to that data with a top-down approach. Let's build a simple drawing app that will draw circles on a canvas and allow us to undo/redo our drawing.
Watch this lesson now
Avatar
egghead.io

Implementing Undo/Redo can be tricky business. Consider two strategies to simplify implenting undo/redo: 1) use immutable data 2) react to that data with a top-down approach. Let's build a simple drawing app that will draw circles on a canvas and allow us to undo/redo our drawing.

Avatar
Amir Baron

Should InsertAt(0) work correctly?

In reply to egghead.io
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?