Posts by Sidnei Glasman • 1 point
1 post
-
0
votes2
answers73
viewsA: Send custom property to Privateroute component in React
Hi Breno, using render props does not solve your problem? Because React Router does not pass props, it ignores them by default. Instead of <PrivateRoute path='/revenda' exact…