DEV Community

Discussion on: React Router: A simple tutorial on nested routes.

Collapse
 
nickrobinson profile image
nrstudio

Thank you for the reply! I removed the exact prop from my Home component route, and as such, the Home component is still not being rendered.

nickrobinsonportfolio.netlify.app -- My projects page contains the subroutes. With the exact prop, the error happens on the Projects page at:


{routes.map((route, i) => (
path={route.path}
render={ props => (

)}
/>
))}