Created
December 20, 2017 21:13
-
-
Save pirate/0aa0e1b9fe0f0c989241e90cb51e20a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {connect} from 'react-redux' | |
export const reduxify = (container) => | |
connect( | |
container.mapStateToProps, | |
container.mapDispatchToProps, | |
)(container.render) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment