Fine-tune Transitions with React Transition Group’s Lifecycle Props

Rory Smith
InstructorRory Smith

Share this video with your friends

Send Tweet

In React Transition Group, there are six ‘lifecycle’ props at our disposal: onEnter, onEntering, onEntered; onExit, onExiting, and onExited. In this lesson, let’s take a look at how we can fine-tune our transition’s behaviour by using these props, in situations where we may want certain events to occur during or after a transition.