DEV Community

Discussion on: Multiple Layout In React Router

selvaece25 profile image
Selva kumar Author

The Root component will be responsible for rendering all Layouts. Each Layout in turn will then be responsible for all the components using it.

Child route or nested route will have a new layout and pass it to Dashboard layout as props in addition will work as per expectation.