-
-
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
What's remaining for a 0.1 release? #97
Comments
Hey guys. i am actively following this repo for a while and i am pretty sure, as soon as people start using mobx and especially @rrousselGit hooks implementation one of these question will pop up: |
State change of mobx stores are made when the widget tree is unlocked (not building). Like so: Widget build(BuildContext context) {
final store = Store.of(context);
useReaction(() => store.currentRoute, () {
Navigator.pushNamed(context, store.currentRoute);
});
return Container();
} |
We could also do a |
A lock up could have happened if you have some cyclic dependency. May be diagnose the dependency tree? We should also catch that in code. Right now, we are missing this check. I'll add an issue for that [Update]: Added a new issue #99 |
Currently it doesn't seem clear how to create observables from non-primitive values. I've figured out from the examples that I can use |
For custom types, you could just create a You can have a plain |
Is this feature available?
What about |
These are not needed in the dart world. By default all observables are shallow and by reference. |
I am planning to push a
|
0.1 has been published. |
I think feature wise, it's looking solid. Curious if there is anything sorely pending for a 0.1 release. At this point I see only the following:
What say @katis, @rrousselGit ?
The text was updated successfully, but these errors were encountered: