react-native-transitiongroup
react-native-transitiongroup copied to clipboard
Event order is counter-intuitive
Currently, this component fires componentWillEnter on the new component before componentWillLeave is fired on a previous component. Meaning, it's entering the new component before the old one has left.
What's the purpose then of the componentDidLeave callback if it doesn't wait until the callback is fired before firing componentWillEnter on the new component? 🤷♂