Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

README

        


reactnative
reactnative
typescript
typescript
jest


MobX and React Context API



Counter

## 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.git

cd 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.