i'm currently executing this.props.navigation.navigate('myView')
using react-navigation.
But when i leave and enter quickly to that view, in some cases a strange behavior occurs in the react-native life cycle.
My logs:
*When works normally:
- Navigate to `myView`
componentWillMount >>>>>>>>>
- Back from `myView`
componentWillUnmount >>>>>>>>>
*When i navigate quickly:
- Navigate to `myView`
componentWillMount >>>>>>>>>
- Back from `myView`
componentWillUnmount >>>>>>>>>
- Quick navigate to `myView`
componentWillMount >>>>>>>>>
componentWillMount >>>>>>>>>
componentWillUnmount >>>>>>>>>
At the end of this case, the unmount is running and leaving the view in an incorrect state.