Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bdombro/mobx-hook-test
Tests git+https://github.com/johot/mobx-react.git
https://github.com/bdombro/mobx-hook-test
Last synced: 5 days ago
JSON representation
Tests git+https://github.com/johot/mobx-react.git
- Host: GitHub
- URL: https://github.com/bdombro/mobx-hook-test
- Owner: bdombro
- Created: 2018-11-04T13:33:07.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-04T15:31:55.000Z (about 6 years ago)
- Last Synced: 2025-01-01T18:55:37.514Z (10 days ago)
- Language: JavaScript
- Homepage:
- Size: 372 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Tests fork git+https://github.com/johot/mobx-react.git for 16.7.0-alpha.0 and hook compatibility.
Known issue: Using observer with functions is throwing an error with React 16.7.0-alpha.0
There are 3 branches:
* master -> observer test with hot reloading
* no-hot-reload -> observer test without hot reloading. This demonstrates that hot reload is not the cause of the issue.
* basic-hook-test -> same as no-hot-reload, except using state hooks instead of
mobx or observer. This demonstrates that hooks are in fact working with the current buildTo run,
```
# Build mobx-react fork
git clone https://github.com/johot/mobx-react.git
cd mobx-react
yarn install
yarn build
cd ../# Build test app and install mobx-react fork
git clone https://github.com/bdombro/mobx-hook-test.git
cd mobx-hook-test
yarn install
rm -rf node_modules/mobx-react
mv ../mobx-react node_modules/
yarn serve
```