FluxMapStore
: Removed. It added very little value overFluxReduceStore
.FluxContainer
: Subscriptions are setup in constructor rather thancomponentDidMount
FluxContainer
: Can create containers using stateless functional componentsFluxContainer
: Uses functional version ofsetState
FluxMixin
: Subscriptions are setup incomponentWillMount
rather thancomponentDidMount
Dispatcher
: Methodsregister
andunregister
can not be called in the middle of a dispatchReact
added as peer dependency toflux/utils
- Package
dist/FluxUtils.js
alongsidedist/Flux.js
Note: This is marked as a breaking change due to the large number of small
changes in FluxContainer
. Depending on how coupled code is to the timing of
componentWillMount
, componentDidMount
, or setting state synchronously it is
possible that there may be some breakages. Generally it should not be an issue.
- Publish
dist/
on npm
- Add flux-utils which include four main base classes:
Store
,ReduceStore
,MapStore
,Container
- Add flux-utils example and documentation
- Upgrade build script
- Publish a minified version of
Flux
indist/
- Add flow types to
Dispatcher