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
A watcher is created for filterAsArray, but the watcher does not update when addFilter is called, because the reference to the filter stays the same. addFilter does only cause an update when it's implemented like this.
I'm not sure whether this is a bug or intended. In case of the later one, if haven't found any documentation for this case anywhere and would like if there was a possibility to cause an update anyway.
The text was updated successfully, but these errors were encountered:
If a store has a property that is an object, a mutation only triggers updates if the reference of the property is changed. See the following example.
Using the following store.
A watcher is created for
filterAsArray
, but the watcher does not update whenaddFilter
is called, because the reference to the filter stays the same.addFilter
does only cause an update when it's implemented like this.I'm not sure whether this is a bug or intended. In case of the later one, if haven't found any documentation for this case anywhere and would like if there was a possibility to cause an update anyway.
The text was updated successfully, but these errors were encountered: