4 ms·
Large production instances of Next.js tend to rely on server-side rendering almost exclusively. Paired with react-query + cached api/Redis, you get short build
by difu_disciple 5y ago
Large production instances of Next.js tend to rely on server-side rendering almost exclusively. Paired with react-query + cached api/Redis, you get short build times and a fast user experience (Remix has a very similar approach as well).
Gatsby is also a great static site generator. Most sites render with JavaScript disabled + the framework provides some of the best tools to create increase Lighthouse scores. It's only weakness is the build speed once you pass +100 pages.
That said, the primary issues around static site generators are:
1. Build speeds - (choose Hugo, Zola, Eleventy.js)
2. Creating pages from external data - (choose Next.js, Eleventy.js, Gatsby)
3. Real-time previews - (requires work but most JS-based frameworks can do this without issue)
4. Ease of use - (choose Jekyll)