survivejs-demos / mobx-demo

MobX port of SurviveJS - Webpack and React apps

Home Page:https://survivejs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notes/Kanban app - MobX port

This repository contains MobX ports of SurviveJS - Webpack and React book examples. You can study them to see how to implement the same application in a different kind of architecture. See also the interview with Michel Weststrate.

MobX provides a way to make data structures reactive and makes it easy to consume them. It can be used with or without Flux. In this case we'll be relying directly on MobX for our data needs and skip Flux altogether. The most interesting thing to notice is how much it cuts out code.

We are triggering our MobX stores directly and more pedantic people might implement classes in between. For a simple case such as this the current approach is enough.

See Michel Weststrate's interview about mobx!

Demo

  1. cd notes_app or cd kanban_app
  2. npm i
  3. npm start
  4. Surf to localhost:8080

License

MIT.

About

MobX port of SurviveJS - Webpack and React apps

https://survivejs.com/

License:MIT License


Languages

Language:JavaScript 92.9%Language:CSS 7.1%