You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to make the AnimatedSwitch component aware of the direction the navigation is? For example, when going back (by using the back button in the browser) I would like a different animation and styling than when user is navigating forward.
The text was updated successfully, but these errors were encountered:
where routes is an array of my routes ordered correctly
Of course, this is a naive implementation, you will need to use something more advanced (like a regex) to match the routes if you have like wildcards or parameters on the route.
Is it possible to make the AnimatedSwitch component aware of the direction the navigation is? For example, when going back (by using the back button in the browser) I would like a different animation and styling than when user is navigating forward.
The text was updated successfully, but these errors were encountered: