Created
October 2, 2019 19:13
-
-
Save vladyn/39f5b6214698e978c2c50aab7bf23943 to your computer and use it in GitHub Desktop.
mapStateToProps
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
const mapStateToProps = (state => { | |
const selector = formValueSelector('myForm'); | |
return { | |
time: selector(state, 'select-name'), // undefined | |
l10n: l10nService, | |
formValues: getFormValues('myForm')(state), // undefined | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment