DEV Community

Discussion on: How to pass props to the route component in React router

Collapse
 
adityagupta150 profile image
Aditya Gupta

Can we also use Context, like wrap the Route tag inside context provider, then the components may access by referring the Context ?