Skip to content
Opininionated Mobx App Structure
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs added a splice and replace method to collections Aug 18, 2017
scripts add docs to base class Feb 16, 2017
src fixed all test Aug 18, 2017
.babelrc initial Nov 29, 2016
.gitignore initial Nov 29, 2016
package.json added a splice and replace method to collections Aug 18, 2017 add guides boilerplate Feb 16, 2017

Opinionated Mobx Structure


MobX Models provides an opinionated structure for managing MobX stores, collections models and more.

Currently Included

  • Model
  • Collection
  • Schema
  • ViewModel

Check out the files for basic usage.


  • Reduce boilerplate for things like loading flags and saving functions
  • Only keep one copy of a model at a given time
  • First class support for using and working with forms
  • Opinionated structure

Outstanding Questions / Ideas

  • How to implement subscriptions for self updating.
  • Can we generalize the model save and destroy?
  • Collections, storing as list of ID's or list of models. (in stores)
  • Where to put collections and how to organize them. (in models)
  • View model's still need to be added. (added)
You can’t perform that action at this time.