Framework
Next.js
The right answer when the marketing site and the product application are genuinely the same codebase.
What Next.js is
Next.js is a React framework providing file-based routing, server rendering, and server-side data fetching. It is application-first: the default assumes React is running on the client.
Where it earns the shortlist
Choose Next.js when
- The site and the product share components and authentication
- Pages are personalised per user
- The team is already deep in React and will not maintain a second stack
Look elsewhere when
- The site is a static marketing estate with a handful of interactive pieces
- Shipping the smallest possible JavaScript payload is the main goal
Placeholder technology page. The assessment is written to exercise the template and should be reviewed before launch.
Pricing
Open source. Cost is hosting, which for server-rendered pages is higher than for static delivery.
Our take
Next.js is an excellent application framework that a lot of teams use as a static site generator, and then wonder where the JavaScript came from.
Frequently asked questions
When should you use Next.js instead of Astro?
Use Next.js when the marketing site and the product application share code, authentication or personalised rendering. Use Astro when the site is content-heavy and mostly static, since it ships far less JavaScript by default.
Is Next.js good for marketing sites?
It works, and it is the right call when the marketing site is genuinely part of the product application. For a standalone content site it usually ships more JavaScript than the page needs.
At a glance
- Category
- Web framework
- Best for
- Applications, and sites that share code with one
- Pricing shape
- Open source
- House view
- An application framework, used as one
Your website should not be a mystery to your own team.
Tell us where it hurts and we will tell you what we would do about it.