diff --git a/src/AltContainer.js b/src/AltContainer.js index 428b423..d12388a 100644 --- a/src/AltContainer.js +++ b/src/AltContainer.js @@ -121,11 +121,16 @@ class AltContainer extends React.Component { static childContextTypes = { flux: React.PropTypes.object, + store: React.PropTypes.any, + stores: React.PropTypes.any, } getChildContext() { - var flux = this.props.flux || this.context.flux - return flux ? { flux: flux } : {} + return { + flux: this.props.flux || this.context.flux, + store: this.props.store, + stores: this.props.stores, + }; } constructor(props) {