urugator
urugator
Btw there probably isn't much of a reason to keep `computedRequiresReaction`/`observableRequiresReaction` set to `true` on the server, so you can just turn these off before calling `React.renderTo...` (unless you set...
IIRC there was a kinda stupid reason for that - the `reportChanged` is supposed to be called after the value changed, but the check was supposed to prevent the write...
Do the check before mutating the observable. The default comparator is `===` , which is fast, easy to explain and isn't surprising: ```js const date = new Date(whatever) o.date =...
> triggers autorun Autorun doesn't do any value diffing. The comparison is done when setting a value and if it's equal it's completely ignored - it's not set and autorun...
Probably doable as long as it's in the same file. PR welcome. Btw there is also a runtime check that is useful for detecting missing observers: https://mobx.js.org/configuration.html#observablerequiresreaction-boolean
`equals` should only be at `box` and `observable(primitive | function)`. `autoBind`, `deep`, `defaultDecorator` are probably irrelevant for some of these as well. PR welcome.
Despite the name, `observe` and `onBecome(Un)Observed` are completely unrelated. `onBecome(Un)Observed` is only relevant for observables accessed in `autorun`/`reaction`/`observer`. An observable becomes observed when it's first accessed by some `autorun`/`reaction`/`observer`. An...
Hm, I was under the impression it just registers the listener. I think the `computed` is just an exception here, since it has no setter, so there must be a...
Btw, not sure if it's related and I am not sure if it's still the case, but IIRC onB(U)O is (used to be) called at the start/end of action for...
Another thing, that I am not sure is relevant, but worth noting, is that if you attempt to setup derivation in action, the derivation won't run until the action is...