Render Multiple Components for the Same Route in React Router v4

InstructorJoe Maddalone

Share this video with your friends

Send Tweet

React Router v4 allows us to render Routes as components wherever we like in our components. This can provide some interesting use cases for creating dynamic routes on our applications.

Gilad
~ 7 years ago

In the Header and Content components, how does the match data get passed as a prop?

Jonathan
~ 6 years ago

I think the match in the Header and Content components are not necessary, it still works since the match prop is still coming from the Route component

Nazariy
~ 5 years ago

What are some of the interesting use cases for this?