4 ms·
Next.js is cool, but afaik takes a server, right? Gatsby is nice because you get React for component re-use + styling, but it builds into regular HTML+JS files
by Xavdidtheshadow 5y ago
Next.js is cool, but afaik takes a server, right? Gatsby is nice because you get React for component re-use + styling, but it builds into regular HTML+JS files and can live on (abundant, free) static site hosts.
- leerob 5y agoIt's primarily used with a server, correct. However, you can use `next export` which will generate only static assets (like HTML, JS, and CSS). Certain features aren't available that require a server (like i18n routing) but you can still do a lot!