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
// Whenever mutations affecting these paths occurs
@@ -126,7 +126,7 @@ listener.dispose()
126
126
127
127
Here we combine the tracked paths with the mutations performed to see if this components, computed or whatever indeed needs to run again, doing a new **startPathsTracking** and **clearPathsTracking**.
128
128
129
-
You can optionally declare a global listener which will be informed by all mutations:
129
+
You can optionally declare a global listener which will be informed by all mutation flushes:
130
130
131
131
```js
132
132
importProxyStateTreefrom'proxy-state-tree'
@@ -137,7 +137,7 @@ const tree = new ProxyStateTree({
If you insert a function into the state tree it will be called when accessed. The function is passed the **proxy-state-tree** instance and the path of where the function lives in the tree.
0 commit comments