How to model application state after your problem domain with Mobx-state-tree (MST). You will be able to manage the lifecycle of your data by describing data models. Models are like React components, but for data!
Finally you will see that MST allows you to solve certain problems generically by leveraging it's out of the box support for asynchronous actions, patches, snapshots and middleware.
This will be done through building a little Wish-List application using React, Mobx-state-tree (MST) and create-react-app.
This project was bootstrapped with Create React App.
- yarn test
- yarn start
- yarn run json-server --port 3001 db.json
- dump state
JSON.stringify(group.toJSON())