https://github.com/codemeasandwich/wishlist
Manage Application State with Mobx-state-tree
https://github.com/codemeasandwich/wishlist
mobx-state-tree react
Last synced: 3 months ago
JSON representation
Manage Application State with Mobx-state-tree
- Host: GitHub
- URL: https://github.com/codemeasandwich/wishlist
- Owner: codemeasandwich
- Created: 2017-12-23T07:40:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-26T19:00:01.000Z (over 8 years ago)
- Last Synced: 2025-02-04T14:23:30.150Z (over 1 year ago)
- Topics: mobx-state-tree, react
- Language: JavaScript
- Size: 247 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Manage Application State with Mobx-state-tree
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](https://github.com/facebookincubator/create-react-app).
---
### commands
* yarn test
* yarn start
* yarn run json-server --port 3001 db.json
#### other commands
* dump state `JSON.stringify(group.toJSON())`