maisano / react-router-transition

painless transitions built for react-router, powered by react-motion
http://maisano.github.io/react-router-transition/
MIT License
2.59k stars 139 forks source link

Is there a way for a transitioned component to know about it? #119

Open zdila opened 3 years ago

zdila commented 3 years ago

We use it like this:

<AnimatedSwitch ...>
  <Route ... render={(props) => {
    // can we detect here if this route is animated-in or animated-out? For example from props?
  }} />
</AminatedSwitch>