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
mainContext.spy((event) {
if (event isObservableValueSpyEvent) print(event);
});
I also get notified when I add, remove issues to the list, but unfortunetly no event is fired in this case.
// The store-classabstractclassTeamBasewithStore {
TeamBase(this.name);
@observableString name;
@observableObservableList<Issue> issues =ObservableList();
@actionvoidaddIssue() => issues.add(Issue(issues.length.toString()));
}
// This is the class used by rest of your codebaseclassIssue=IssueBasewith_$Issue;
// The store-classabstractclassIssueBasewithStore {
IssueBase(this.name);
@observableString name;
}
I expected that when I spy like this:
I also get notified when I add, remove issues to the list, but unfortunetly no event is fired in this case.
Is this a bug or not supportet? The Mobx.js does seem to have this implemented: https://mobx.js.org/analyzing-reactivity.html#spy
PS: I want to build something like this: https://www.youtube.com/watch?t=2171&v=WxK11RsLqp4&feature=youtu.be&ab_channel=Fraktio
The text was updated successfully, but these errors were encountered: