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
When a monkey is updated it does not dispatch an update event to its parent:
lettree=newBaobab({a: {b: 10,c: monkey(['foo'],x=>x)},foo: 20})tree.select('a').on('update',()=>console.log('updated a'))tree.select('a','c').on('update',()=>console.log('updated monkey'))tree.select('foo').set(123);// updated monkey// BUT does not trigger "update a" on the parent// on the other handtree.select('a','b').set(123);// updated a
Is there a possibility to make a monkey trigger a parent update?
(I'm using 2.3.0)
The text was updated successfully, but these errors were encountered:
When a monkey is updated it does not dispatch an update event to its parent:
Is there a possibility to make a monkey trigger a parent update?
(I'm using 2.3.0)
The text was updated successfully, but these errors were encountered: