Re:Zero-Bundle-Size React Server Components
by dbbk on Tuesday December 22, 2020 @07:42AM
(#25505686)
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.
Re:Zero-Bundle-Size React Server Components
by httgp on Tuesday December 22, 2020 @10:17AM
(#25506993)
You actually can build nested layouts in Next.js — see https://adamwathan.me/2019/10/17/persistent-layout-patterns-...
Re:Zero-Bundle-Size React Server Components
by chrisco255 on Monday December 21, 2020 @05:03PM
(#25500157)
Next.js can output static pages now on build time, so you don't necessarily need to use SSR unless you're hydrating data on the server.
Does it need to be served from a Node.js environment or can it be used as a bundler and be served from other servers (eg Django or Rails)?