My data model is built like this =>
“Script2” represent a chapter of a book.
It’s a recursive model. “Script2” can contains others “Script2” in the array “children”.
My question is how can I listen array mutation events globally for all the possible chidren array.
The user can create a tree with many deep without limit.
I tried to use the model changed event like this.
I have the relativePath property. It’s very helpful but I don’t have the type of mutation on the array children. The Array mutation events are propagated only with RealtimeArrays.
Do you have a tips about that ?