Collection model

This commit is contained in:
Jori Lallo
2017-05-23 00:45:15 -07:00
parent 07ff5b6ae5
commit 6b566a568f
6 changed files with 116 additions and 16 deletions

View File

@@ -2,10 +2,12 @@
import { autorunAsync } from 'mobx';
import UserStore, { USER_STORE } from './UserStore';
import UiStore, { UI_STORE } from './UiStore';
import ErrorsStore from './ErrorsStore';
const stores = {
user: new UserStore(),
ui: new UiStore(),
errors: new ErrorsStore(),
};
// Persist stores to localStorage