-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Roadmap ideas - umbrella issue for future development #74
Comments
Some feedback: (1) (2) (3) (4) (5) Observable:
Computed / Derived / View:
If this is the case, then maybe we just deal with extension and no observables directly (eg. they must be associated with an instance given the get /set magic of mobservable). I'm getting into details, but just wanted to make a case for simplifications and maybe combining topics... (6) |
autorun names:
i do agree autorun is a bit of a abstract name. as long as mobx.Observe also exists autorun is not per se necessary. Since Observe does the same thing for 1 variable/property. i'd suggest calling it mobx.observeAll/Every/Any()? |
@joelharkes most people won't see responses on closed issues. But observe != 1 property autorun. Autorun respects transactions and such, observe doesn't. Generallly prefer to use |
Hey no problem, just thought i'd drop my 2 cents. isn't but so technically it's an Tip: you can easily see people's questions on mobx by filtering on the tag on SO: https://stackoverflow.com/questions/tagged/mobx |
Yes it is. Most api's in MobX are named after what they intend to achieve
on a conceptual level, not to what they do
Op vr 4 mei 2018 om 15:21 schreef Joël Harkes <[email protected]>:
… Hey no problem, just thought i'd drop my 2 cents. isn't reaction a very
ambiguous word?
but so technically it's an onTransactionCompleted event? (I've been using
mobx for a while, yet to dive into the source code (thanks for making this
awesome library!)).
Tip: you can easily see people's questions on mobx by filtering on the tag
on SO: https://stackoverflow.com/questions/tagged/mobx
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#74 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABvGhDj64LuxDVfzmpYOL7tQKf7Cxgzaks5tvFXUgaJpZM4G1_Uu>
.
|
Hi all, feel free to add suggestions to this issue for things that should be added / removed / improved in observable. I'll gather all the items on which there is consensus, running / planned items, or items we need at Mendix in this first message. Ideas can be added by replying.
If people want to contribute on any of this just let me know!
Planned
Breaking(?)
Non-breaking
autorun
functions in separate transactions (running, see also Autorun should run in isolation of derived values #71)Ideas
Non-breaking
get
/set
methods on arrays(Possibly) Breaking
.observe()
from observable scalars and functions (smaller api, there is an better alternative, code base reduction). Conflicts withmobservable.observe
should support observing individual properties #59shallowObservable
#56). I think there is general consensus for this one; less magic.for .. in
. 😢observable
as a swiss knife and expose more explicit methods likemobservable.object
,mobservable.array
, etc..Rename ideas
@observable
into@observable
and@derivable
(for getters) to communicate more clearly the ideas behind mobservableobserveUntil
intowhen
autorun
, maybereactive
?Also see #34 (road to 1.0) for some past ideas.
The text was updated successfully, but these errors were encountered: