Posts by Alexandre Hansen • 1 point
1 post
-
0
votes1
answer63
viewsA: React - React-router-dom repeating components
You can use the render method to render your "template", make an Authroute component this way, passing its layout around, and in the layout component where you want the routes, passes as Children:…