Created
July 12, 2016 10:02
-
-
Save giacomorebonato/65f76e23b207a72af072c8bd42a5d18e to your computer and use it in GitHub Desktop.
Stores instantiation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AuthStore from './AuthStore' | |
import NotificationsStore from './NotificationsStore' | |
import SampleStore from './SampleStore' | |
import UIStore from './UIStore' | |
const notificationsStore = new NotificationsStore() | |
const stores = { | |
notificationsStore, | |
authStore: new AuthStore(notificationsStore), | |
sampleStore: new SampleStore(), | |
uiStore: new UIStore() | |
} | |
export default stores |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment