Quiz: React Router and Navigation
Test your understanding of React Router and navigation.
1
Which statement about nested routes in React Router is correct?
A)
Parent routes automatically render all their child routes.
B)
Child routes must have a unique path
relative to the root route.
C)
The Outlet
component is required for rendering nested routes in the parent component.
D)
Child routes must be defined using the NavLink
component.
Question 1 of 150 attempted
Get hands-on with 1400+ tech skills courses.