GitHub - ronaksonigara/react-private-public-route: React router package which provide private, public & restricted routes which helps to authenticate different routes and component.
private-routes-with-react-router-6 - Codesandbox
Problem with IonRouterOutlet and Public-Private routes on Ionic-React - Ionic React - Ionic Forum