Skip to content

Integration of MobX with React components a basic example repo.

License

Notifications You must be signed in to change notification settings

smronju/ReactMobxBasics

Repository files navigation

React and MobX Basics

The basic example of mobx and react components.

Usage

npm install
npm start
open http://localhost:3000

Linting

This project includes React-friendly ESLint configuration.

npm run lint

Using 0.0.0.0 as Host

You may want to change the host in server.js and webpack.config.js from localhost to 0.0.0.0 to allow access from same WiFi network. This is not enabled by default because it is reported to cause problems on Windows. This may also be useful if you're using a VM.

Missing Features

This example is purposefully simple to show the minimal configuration for MobX with React components. For a real project, you'll want to add a separate config for production with hot reloading disabled and minification enabled. You'll also want to add a router, styles and maybe combine dev server with an existing server. This is out of scope of this example.

Dependencies

Resources

About

Integration of MobX with React components a basic example repo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published