I was investigating for a while why gojs-react returns all my blocs in modifiedNodeData, I found out later that after reinsializing my state, mergeNodeDataArray will consider any new object reference as a recent change.
This object data { key: 0, name: 'Test' }
Does not behave the same as { key: 0, name: 'Test', things: {} }
Demo here, click on the button to see the difference
The way I am using right now is to stringify all the object and parse them later in the bindings
However I think this will affect the performance.
I am not sure how can I pass objects within objects in gojs without triggering onModelChange twice.
Any idea about this issue ?