4 ms·
If you're building a dashboard-like SPA it's not really suitable, because every page is its own component, so you can't do nested layouts or routing.
by dbbk 6y ago
If you're building a dashboard-like SPA it's not really suitable, because every page is its own component, so you can't do nested layouts or routing.
- httgp 6y agoYou actually can build nested layouts in Next.js — see https://adamwathan.me/2019/10/17/persistent-layout-patterns-in-nextjs/ https://adamwathan.me/2019/10/17/persistent-layout-patterns-...