I'm trying to introduce animation routing to my small quiz game. Everything is working correctly with animations being applied to different routes until application should hit specific route after that the whole routing breaks and is not working.
I cant recreate that with CodeSandbox from my specific example but I will try do explain with code examples:
The routing works perfectly until second route. When the third route is clicked and it should be rendered, nothing happens and routing stops working - page refresh is required.
When key prop is removed from switch, routing works as expected but then the exit animations are not being applied,
Hi!
I'm trying to introduce animation routing to my small quiz game. Everything is working correctly with animations being applied to different routes until application should hit specific route after that the whole routing breaks and is not working.
I cant recreate that with CodeSandbox from my specific example but I will try do explain with code examples:
Here is my app component:
The routing works perfectly until second route. When the third route is clicked and it should be rendered, nothing happens and routing stops working - page refresh is required.
When key prop is removed from switch, routing works as expected but then the exit animations are not being applied,
Appreciate your help,