react-native-transitiongroup
react-native-transitiongroup copied to clipboard
Can the documentation be more explicit?
I don't get how this works. 🤔 How does the TransitionGroup know or determine or decide which of its child components should have componentWillEnter or componentWillLeave fired? What is the "group" functionality being performed here?
Meaning, if I want child-2 active, and child-1 WAS active, then I want child-1 to fire componentWillLeave before (optionally) unmounting, and then child-2 to fire componentWillEnter directly after mounting.
The component calls this a group but doesn't... actually show a group of anything? Or any behaviors around selecting an item of a group? What am I missing?