Created
April 19, 2019 15:37
-
-
Save ahmeturganci/67aa3e9669e92bd3dba32a84f9817d2c to your computer and use it in GitHub Desktop.
ract-native-router-flux- page onExit/onEnter State clear
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
| static onEnter = () => { | |
| Actions.refresh({ | |
| date: new Date() | |
| }); | |
| }; | |
| static onExit = () => { | |
| }; | |
| componentWillReceiveProps(t) { | |
| var self = this; | |
| self.setState({startDate:"",requestType:0,amount:0,remark:""}); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment