rsnext/examples/with-mobx-state-tree-typescript/package.json
kevin sproles 5e9f3102b8
Update MST typescript example to use hooks (#15237)
1. Switched from class components to functional components with hooks (https://reactjs.org/docs/hooks-effect.html)
2. Removed inject pattern (which is obsolete) in favor of hooks (https://mobx-react.js.org/recipes-migration)
3. Switched to mobx-react-lite
2020-07-17 18:42:36 +00:00

25 lines
566 B
JSON

{
"name": "with-mobx-state-tree-typescript",
"version": "1.0.0",
"scripts": {
"dev": "next",
"build": "next build",
"start": "next start"
},
"dependencies": {
"mobx": "^5.9.0",
"mobx-react": "^5.4.3",
"mobx-react-lite": "^2.0.7",
"mobx-state-tree": "^3.11.0",
"next": "latest",
"react": "16.13.1",
"react-dom": "16.13.1",
"typescript": "^3.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.3.0",
"@types/node": "^14.0.23",
"@types/react": "^16.4.12"
},
"license": "ISC"
}