https://github.com/be-fe/react-mobx-vm
💯 The magic dev pattern View-Model based on React & Mobx
https://github.com/be-fe/react-mobx-vm
Last synced: 3 months ago
JSON representation
💯 The magic dev pattern View-Model based on React & Mobx
- Host: GitHub
- URL: https://github.com/be-fe/react-mobx-vm
- Owner: be-fe
- License: mit
- Created: 2018-02-08T02:38:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-10T07:27:49.000Z (over 6 years ago)
- Last Synced: 2025-03-18T13:09:55.287Z (4 months ago)
- Language: JavaScript
- Homepage: https://be-fe.github.io/react-mobx-vm/
- Size: 4.18 MB
- Stars: 14
- Watchers: 3
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: Readme.md
- Changelog: CHANGELOG.md
- License: License
Awesome Lists containing this project
README
# react-mobx-vm
View & Model are mixed now via react mobx
[](https://travis-ci.org/be-fe/react-mobx-vm)
[](https://codecov.io/github/be-fe/react-mobx-vm?branch=master)
[](https://www.npmjs.com/package/react-mobx-vm)
[](https://www.npmjs.com/package/react-mobx-vm)
[test e2e](https://dashboard.cypress.io/#/projects/runs)- UMD `reactMobxVM`
- https://unpkg.com/react-mobx-vm
- https://cdn.jsdelivr.net/npm/react-mobx-vmNote: UMD don't supports extension/Router.
## Installation
```bash
npm i react react-router@3 mobx@3 mobx-react@4 react-mobx-vm -D
```## Examples
```bash
git clone ...
cd react-mobx-vm
npm install
npm run gojs:open -- -i routerV3/browserHistory.js
```## Tests
### Units
```bash
npm test
```### Integration
```bash
npm run test:cy:run
# or
npm run test:cy:open
```## Contributing
- The commit message should observe the [rule](http://www.ruanyifeng.com/blog/2016/01/commit_message_change_log.html).