Animating React Components In and Out the Right Way — Frontend Master

Entering is easy. Leaving is the hard part — because by the time you want to animate a component out, React has already removed it.