A tiny demonstration of the useObserver mobx-react-lite hook in combination with mobx-state-tree.
userObserver
DemoA tiny project that demonstrates how to use
mobx-state-tree (MST) as a global store,
pass parts of the store to child components via props, and make them
observable using the useObserver
hook from
mobx-react-lite.
src/store.tsx
.src/App.tsx
.