Next.js

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 applicatons.

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.

Contributors

Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn Open Source on Codecademy