Next.js
Published Oct 14, 2022Updated May 15, 2024
Contribute to Docs
Next.js is an open-source development framework that brings the best of React’s client-side functionality to the server-side when building web applications.
Additionally, Next.js comes with built-in features including the following:
- A page-based routing system that supports dynamic routes.
- Every page is pre-rendered for improved site performance and search-engine optimization (SEO).
- Any page can either be statically generated ahead of time or rendered on the server-side upon request.
- Faster page loads enables automatic code splitting or “lazy-loading” (load a resource only when it is needed).
- An in-house
Link
component is used for client-side routing with optional pre-fetching. - There is vast styling support including built-in CSS, Sass, and CSS-in-JS libraries.
- TypeScript is supported in Next.js.
Next.js was originally authored by Guillermo Rauch on GitHub in 2016. Due to its functionality, large companies such as Netflix, Starbucks, Uber, GitHub, and Ticketmaster have all used Next.js for their website development. It is currently owned and maintained by the company Vercel.
Fun Fact: Codecademy Docs is built with Next.js.
Contribute to Docs
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.