4 ms·
There’s a two simple reasons I would go for Next.js - It’s React-based: Almost everyone knows how to do React these days - It allows me to build and serve chu
by Tehnix 3y ago
There’s a two simple reasons I would go for Next.js
- It’s React-based: Almost everyone knows how to do React these days
- It allows me to build and serve chunked static files, instead of just a single static files like classic SPA
The last part is the main reason for that over other React-based frameworks. While SSR is hot these days, I’m firmly in the camp of “less servers I need to operate is better” and almost have “needs to be servable via S3+CloudFront” as a hard requirement for Frontend stacks.
- leerob 3y agoYeah, a large number of Next.js apps use the static export functionality and host on S3: https://nextjs.org/docs/app/building-your-application/deploying/static-exports https://nextjs.org/docs/app/building-your-application/deploy...