Plain object or an observable
Observable initializer
Dependency list of initializer. When changed, a new observable will be created
An observable
Options for useObservable
MobX annotations. See https://mobx.js.org/observable-state.html#available-annotations
alled on every update
Mobx autorun options. See https://mobx.js.org/reactions.html#options-
By default, each update will be run synchronously. Set this flat to true if you want to batch multiple update and render once.
Generated using TypeDoc
React hooks to make current component reactive to mobx observables, both locally and externally.
Example: