react-transition-group
react-transition-group copied to clipboard
Handling CSSTransitions within a multi-step flow where each step is a route
I'm comfortable using CSSTransitions normally but when you have a multi-step process flow using React Router where each step counts as a route, and you want to render a breadcrumb with selections made so far (e.g a footer with buttons saying City:London, Neighbourhood: Mayfair, etc), how do you animate each button and overcome the fact that only newly added items will be transitioned? Since you have to move to a new route each time you move to the next step and render the next button?