Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

WIP: Document MST #280

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions doc/state-management.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- State management choices in React, & IR's experience
- local state
- Redux
- MST

- Mobx overview
- MST overview
- where you should use `observer` (I don't think we need to cover `inject` anymore)
- MST in Bowser
- Our `useStores` context helper

- Tips
- Connect screens to stores; keep subcomponents mostly pure
- Access the API via store actions
- withStatus extension
- Communicate between stores using extensions
- withRootStore extension