I am on my first Ionic build and have come unstuck with routing. Usually in straight react without Ionic, I just check if there is a valid user, if so I render logged in routes, if not I render auth routes, both in a Switch.
I have tried this approach in Ionic but I just get a blank screen.
I have put a S/O question here where you can see the code:
I really just need to know how to render routes dynamically and redirect on a successful user prop rerendering the app.
Thanks in advance.