react-native-transitiongroup icon indicating copy to clipboard operation
react-native-transitiongroup copied to clipboard

Can the documentation be more explicit?

Open matthew-dean opened this issue 6 years ago • 0 comments

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?

matthew-dean avatar Apr 13 '19 00:04 matthew-dean