Jamal Ahmad Khan

Results 3 comments of Jamal Ahmad Khan

Additional info would be that this issue only occurs when i try to write back to the store: ```typescript model.getModels().forEach((item) => item.registerListener({ eventDidFire: () => { console.log("WOOSH"); dispatch(setGraph(engine.getModel().serialize())); }, })...

Yeah, i'm implementing a drag and drop editor for a state machine framework. `Undo`/`Redo` would be features i want to have in there. I guess saving the state on some...

> For the undo/redo, I would recommend using the command pattern. There's this great comment explaining what this is and how to use it: [#391 (comment)](https://github.com/projectstorm/react-diagrams/issues/391#issuecomment-567390715). **+1** for the command...