Drill 16 of 26Data & state

Editor reducer

You asked the AIUpdate the diagram editor’s items while preserving undo snapshots. Handle add, remove and clear without changing previous states.

1Tap the line with the bug

JavaScripteditor/reducer.js