I’m not sure what you’re referring to with stale data; that sounds like you haven’t implemented listeners to keep your state synchronized with the GoJS model.
Anyway, you can of course use GoJS without the gojs-react package. Just set up a div and associate a Diagram with it as you would in a normal HTML/Javascript environment, typically by referencing the div ID. It will then be up to you to make all updates to the GoJS model.
Stale state in functions is a common React issue. My data source changes based on user GoJs interaction but this modified data source did not exist when ReactDiagram initially rendered therefore, my function event handlers never get access to this data later on UNLESS I manually force ReactDiagram to re-render.
ReactDiagram and ReactPalette DO NOT reload function callbacks defined on initPalette={useGoJsInitPalette} and initDiagram={useGoJsInitDiagram(diagramEventHandlers)}
Therefore, I get Stale (outdated) state in this functions when executed by user actions