Instantly share code, notes, and snippets.

Embed
What would you like to do?
const mapStateToProps = state => {
const { someStore: { someProperty } } = state
return {
someProperty
}
}
class MyContainer extends Component {
// ...
}
export default reduxForm({
form: 'someForm'
})(connect(mapStateToProps)(MyContainer))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment