Ionic React - IonRouterOutlet - Animation Builder

Has anyone here tried to override the animation for navigation? Docs about AnimationBuilder was pretty vague i dont know where to look at, Main issue was the double rendering of IonPage for every route, since it cannot be avoided without replacing it with Switch, Im planning to override the animation so it wont look as bad as it is now HELPPP

We have an entire documentation page dedicated to custom animations in Ionic: https://ionicframework.com/docs/utilities/animations

In particular, you should look at the Overriding Ionic Component Animations section.

Hey thanks! but i was trying to pass an AnimateBuilder type in ionrouteroutlet and i think its different from the ones in overriding ionic component animation is it not?

Nope, it’s the same thing.

We probably need a better explanation of this on the docs, but all an AnimationBuilder is is a function that returns an Ionic Animation instance.

Ohhhh ok got it, thanks mate! What i did to get the animation i want was to enforce android mode lol