You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently evaluating "SyncedStore", but ran into a problem:
my items to share are class instances or lists (i.e., arrays) or them
however, adding objects to a "SyncedStore" constructs Y.Map/Arrays and then proxies them
as a consequence, the "target" property of any change reported by "observeDeep" returns something completely different from the proxy or my original object
As I would like to register a single change event handler (i.e., a toplevel "observeDeep") and access the changed object directly, the question arises how I can determine which of my original objects maps to a given change.target
I already tried to use the UUID of my original object, but setting a property on an array raises an exception in "array.ts":
array.ts:173 Uncaught Error
at Object.set (array.ts:173:15)
at VM30368 about:srcdoc:11:48
The text was updated successfully, but these errors were encountered:
Hi!
I'm currently evaluating "SyncedStore", but ran into a problem:
As I would like to register a single change event handler (i.e., a toplevel "observeDeep") and access the changed object directly, the question arises how I can determine which of my original objects maps to a given change.target
I already tried to use the UUID of my original object, but setting a property on an array raises an exception in "array.ts":
The text was updated successfully, but these errors were encountered: