React Spring's useTransition
can be used with React Router to create smooth transitions between your routes!
In this lesson, you will configure useTransition
and create its three animated states. You will then map over the transitions and return React Router's Switch and Routes wrapped in an animated.div
element.