Created
December 28, 2018 00:33
-
-
Save tatsushitoji/bd7f00f0cbacd18beffce06350a33b10 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Conatiner = compose<InnerProps, OutterProps>( | |
connect( | |
mapStateToProps, | |
mapDispatchToProps, | |
), | |
getDerivedStateFromProps<Props>((nextProps, prevState) => { | |
// write somthing | |
return nextProps; | |
}), | |
)(LoginComponent); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment