:hammer_and_wrench: Flux architecture tools for React
bind
warning when using StoreWatchMixin
with createClass
(#140)StoreWatchMixin
to support ES6 classes (#135)Flux#getAllStores()
to retrieve all currently registered stores (#127)componentDidMount
instead of componentWillMount
to make it harder to leak memory on the serverAdditions/Non-Breaking Changes
addStore
, addStores
, addAction
, and addActions
(#68, #71, #77)Flux
instances are now EventEmitters, and emit a "dispatch"
event (with type
and payload
arguments) when an action calls this.dispatch(type, payload)
, useful for cross-cutting concerns like loggingStore#bindActions
now takes a hash (similar to the static actions
hash) in addition to an argument list (#51, #78)bindActions
is falsy)Deprecations
Fluxxor.FluxChildMixin
is now deprecated; instead, use FluxMixin
anywhere you want access to getFlux()
(#59)