Skip to content

TodoMVC reference implementation on top of react-mobx-boilerplate

License

Notifications You must be signed in to change notification settings

mobxjs/mobx-react-todomvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1cba503 · Dec 18, 2018

History

59 Commits
Apr 24, 2016
Dec 18, 2018
Feb 28, 2016
Aug 28, 2015
Aug 24, 2016
Aug 28, 2015
Aug 28, 2015
Dec 21, 2016
Feb 8, 2016
Dec 18, 2018
Apr 2, 2017
Dec 18, 2018

Repository files navigation

React + MobX TodoMVC Example

This repository provides a reference implementation of the TodoMVC application written using MobX, React JSX and ES6.

Running the example

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

The example requires node 4.0 or higher

TodoMVC

Changing the example

If you are new to MobX, take a look at the ten minutes, interactive introduction to MobX and React. MobX provides a refreshing way to manage your app state by combining mutable data structures with transparent reactive programming.

The state and actions of this app are defined in two stores; todoModel and viewModel. This is not necessary but it provides a nice separation of concerns between data that effects the domain of the application and data that affects the user interface of the application. This is a useful distinction for testing, reuse in backend services etc.

The project uses hot-reloading so most changes made to the app will be picked automatically. By default the mobx-react-devtools are enabled as well. During each rendering a small render report is printed on all updated components. The dev-tools can be disabled by commenting the import statement in src/index.js.

About

TodoMVC reference implementation on top of react-mobx-boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published