Im trying to implement auto undo/redo functionality within a react app. The project model is not implemented and BryntumGantt component is imported straight from library. I have tried couple of different ways but have seemed to go nowhere. I wanted to ask what would be the best way to go on about doing this?
The example instantiates a ProjectModel, but currently we are not using that, we are passing in inline data which throws error that inline data cannot be used with ProjectModel. Is there a way to do it without using ProjectModel?
Im trying to implement Versions feature into the app but this guide https://bryntum.com/products/gantt/examples/versions/ utilises container instance to get it working properly. Is there a way to do this without container?
That problem seemed to be resolved but everytime I make a request to the backend, I am not able to store the state of the app using versions. Even in the example https://bryntum.com/products/gantt/examples/versions/, it seems to reset the undo/redo state after any changes are made.
Could you please provide more information on exactly what you're doing (request to backend, trying to store state of app) and what exactly happens when you do it?
Also, what changes are you making in the example app that result in the undo/redo state being reset?