Reflux creates singletons for stores, and stores them at StoreClass.singleton. So accessing a store's state directly (for example, property foo) goes StoreClass.singleton.state.foo.
For convenience, StoreClass.state can be a getter that gets StoreClass.singleton.state in order to simplify that to StoreClass.state.foo.
Reflux creates singletons for stores, and stores them at
StoreClass.singleton
. So accessing a store's state directly (for example, propertyfoo
) goesStoreClass.singleton.state.foo
.For convenience,
StoreClass.state
can be a getter that getsStoreClass.singleton.state
in order to simplify that toStoreClass.state.foo
.