Learn how to use the 'compose' function to mix together HOCs, even ones from other libraries like 'connect' from redux.
I notice the use of the setPropTypes within one of the HOCs. How could I integrate flow typing instead of propTypes to such a HOC?
To be precise you should have
const enhance = compose( connect(), setPropTypes({ name: React.PropTypes.string.isRequired, status: React.PropTypes.string }), setDisplayName('User') );
The order of execution in compose is reverse
Did the dispatch prop being initialized in connect and pass on implicitly?
Would love to see some coverage of the Obeservables HOCs from Recompose :)