Skip to content

sergeysibara/mobx-react-4-layer-architecture

Repository files navigation

Example of architecture, where stores works only with shared data, without side effects. Side effects moved to the controller and services.

Habr post

Codesanbox

To reduce the boilerplate (that do not create new types of stores, controllers, api for every page/feature):
wrapFeature function example
using example

Schemes:


This project was bootstrapped with Create React App.

Available Scripts in the project directory

Standard Create React App scripts:

yarn start
yarn build
yarn eject
yarn test
yarn lint