Prior to 1.0
, icrementing the second decimal place indicates a potential breaking change.
0.8.x to 0.9.x
- Stores are now singletons. The dispatcher's
getStores
method must go from...
getStores: function ()
return{
myStore: MyStore()
}
}
to...
getStores: function ()
return{
myStore: MyStore
}
}
where MyStore
is the output of Flux.createStore
- Scheme values are now set on a
store.state
object rather than directly on the store itself. If you are usingscheme
, and accessing and scheme properties directly within a store (rather than just throughthis.set
), you will need to update your code to access the property from thestate
object...
this.mySchemeProp.push(newValue);
needs to become...
this.state.mySchemeProp.push(newValue);