mobx-react
mobx chrome extension
Considering: immer - work with immutable state in a more convenient way. Can be used to simplify redux or mobx reducers.
The gist of mobx is:
- Define state and make it observable.
- Create a view that responds to changes in the State. (by making it a mobx-react observer)
- Modify the State (either through direct mutation or through an action)
Best practice: Currently using mobx-react inject when you need to access state variables via props (going forward reconsider due to changes).
Best practice: Have considered using the decorators, but not currently using them due to not being stable supported language feature.