Re:Next.js Layouts RFC: Nested routes and layouts, designed ...
by leerob on Monday May 23, 2022 @07:37PM
(#31486196)
Part of the thinking behind `app/` is that each section of your application can become its own app. Separate layouts, separate data fetching, and more. `pages/` was mapped very linearly to routes – `pages/index.js` was the index route. But with `app/`, that is not the case.
That's a good point about having a route `/layout` – I will check with the team about that.
That's a good point about having a route `/layout` – I will check with the team about that.