-
-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ObservableValueSpyEvent missing for changes in an ObservableList #885
Comments
@HerrNiklasRaab Have you enabled spy? By default spy is disabled. import 'package:mobx/mobx.dart';
void main() {
mainContext.config = mainContext.config.clone(
isSpyEnabled: true,
);
mainContext.spy((event) { /* ... */ });
runApp(MyApp());
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: