re: Setting up an authenticated route in React VIEW POST


Quick question. Let's say you wanna nest the login and sign up under an /auth url, to form something like /auth/login or /auth/signup with the above scenario how will one go about it?

Thanks for the article by the way.


You're welcome! I'm sorry for not getting back to you sooner but I appreciate you reading and responding.

I hoped to work this out for you but time ran away, so I'd recommend having a look at Tyler McGinnis' excellent guides: tylermcginnis.com/react-router-nes...

I think some other members of the community have this well covered on here also

Code of Conduct Report abuse