Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shopot/mobx-context-example
Using React context API with MobX made with TypeScript
https://github.com/shopot/mobx-context-example
Last synced: 8 days ago
JSON representation
Using React context API with MobX made with TypeScript
- Host: GitHub
- URL: https://github.com/shopot/mobx-context-example
- Owner: shopot
- License: mit
- Created: 2023-11-26T09:48:57.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-11-28T16:32:46.000Z (12 months ago)
- Last Synced: 2023-11-29T13:34:17.555Z (12 months ago)
- Language: TypeScript
- Size: 174 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MobX and React Context API
## Description
Пример приложения **Counter** с использованием рекомендуемого способа связывать MobX и React через React Context API.
см. [MobX-Cookbook: React Context API](https://mobx-cookbook.github.io/react-integration/context-api)
В качестве структуры проекта используется архитектурное решение [Bulletproof React 🛡️](https://github.com/alan2207/bulletproof-react)
## Installation
```shell
git clone https://github.com/shopot/mobx-context-example.gitcd mobx-context-example
npm install
```## Running the app
```shell
# development
$ npm run dev# build production
$ npm run build# preview the production build
$ npm run preview# start linting
$ npm run lint# run unit tests
$ npm run test# run unit test coverage
$ npm run coverage
```## License
Licensed under the MIT license.