Nested Routes in React Router v4
CESCO’s answer renders first the component AppShell then one of the components inside Switch. But these components are NOT going to render inside AppShell, they will NOT be children of AppShell. In v4 to wrap components you don’t put anymore your Routes inside another Route, you put your Routes directly inside a component. I.E : … Read more