3 ms·
Javascript aside, more things can and should be static sites. (More things should render their basic, static-site content without having to exec js, too.) The
by sneak 6y ago
Javascript aside, more things can and should be static sites.
(More things should render their basic, static-site content without having to exec js, too.)
The web would be a lot better if this were the case.
- migueloller 6y agoI believe you can still do this in Next.js with some extra work to exclude the JS bundle. For example, you can use a custom `_document` page and exclude the `NextScript` component [1]. It would be nice if this was supported as a first-class concept, though. [1] https://nextjs.org/docs/advanced-features/custom-document https://nextjs.org/docs/advanced-features/custom-document