Next.js logo


A small framework for server-rendered universal JavaScript apps
+ 1

What is Next.js?

Next.js is a minimalistic framework for server-rendered React applications.
Next.js is a tool in the Frameworks (Full Stack) category of a tech stack.
Next.js is an open source tool with 111.7K GitHub stars and 24.7K GitHub forks. Here’s a link to Next.js's open source repository on GitHub

Who uses Next.js?

1185 companies reportedly use Next.js in their tech stacks, including, CircleCI, and Graphy.

3268 developers on StackShare have stated that they use Next.js.

Next.js Integrations

React, Material-UI, Strapi, imgix, and Sanity are some of the popular tools that integrate with Next.js. Here's a list of all 76 tools that integrate with Next.js.
Pros of Next.js
Automatic server rendering and code splitting
Built with React
Easy setup
Universal JavaScript
Zero setup
Static site generator
Incremental static regeneration
Just JavaScript
Simple deployment
Filesystem as an API
Frictionless development
Well Documented
Everything is a function
Has many examples and integrations
Isomorphic React applications
File based routing + hooks built in
Decisions about Next.js

Here are some stack decisions, common use cases and reviews by companies and developers who chose Next.js in their tech stack.

Shazeen Siraj
Front-end Engineer at Purple Software · | 3 upvotes · 31.9K views
Needs advice

Hi Guys, I am thinking of moving from Angular 2 to Next.js. What are the benefits and disadvantages that I would face with your experience?

See more
Martin Johannesson
Senior Software Developer at IT Minds · | 14 upvotes · 831.1K views
Shared insights

At IT Minds we create customized internal or #B2B web and mobile apps. I have a go to stack that I pitch to our customers consisting of 3 core areas. 1) A data core #backend . 2) A micro #serverless #backend. 3) A user client #frontend.

For the Data Core I create a backend using TypeScript Node.js and with TypeORM connecting to a PostgreSQL Exposing an action based api with Apollo GraphQL

For the micro serverless backend, which purpose is verification for authentication, autorization, logins and the likes. It is created with Next.js api pages. Using MongoDB to store essential information, caching etc.

Finally the frontend is built with React using Next.js , TypeScript and @Apollo. We create the frontend as a PWA and have a AMP landing page by default.

See more
Shared insights

I'm working as one of the engineering leads in RunaHR. As our platform is a Saas, we thought It'd be good to have an API (We chose Ruby and Rails for this) and a SPA (built with React and Redux ) connected. We started the SPA with Create React App since It's pretty easy to start.

We use Jest as the testing framework and react-testing-library to test React components. In Rails we make tests using RSpec.

Our main database is PostgreSQL, but we also use MongoDB to store some type of data. We started to use Redis  for cache and other time sensitive operations.

We have a couple of extra projects: One is an Employee app built with React Native and the other is an internal back office dashboard built with Next.js for the client and Python in the backend side.

Since we have different frontend apps we have found useful to have Bit to document visual components and utils in JavaScript.

See more
Daniel Hernández Alcojor
Frontend Developer at atSistemas · | 8 upvotes · 913.4K views
Needs advice

I'm building, from scratch, a webapp. It's going to be a dashboard to check on our apps in New Relic and update the Apdex from the webapp. I have just chosen Next.js as our framework because we use React already, and after going through the tutorial, I just loved the latest changes they have implemented.

But we have to decide on a CSS framework for the UI. I'm partial to Bulma because I love that it's all about CSS (and you can use SCSS from the start), that it's rather lightweight and that it doesn't come with JavaScript clutter. One of the things I hate about Bootstrap is that you depend on jQuery to use the JavaScript part. My boss loves UIkIt, but when I've used it in the past, I didn't like it.

What do you think we should use? Maybe you have another suggestion?

See more
Nash Nziramasanga
Software Developer at Billow Software · | 3 upvotes · 95.9K views
Needs advice

Im building a simple portfolio website using Next.js and all the content is static, what's the best between Contentful and Sanity.

I really like the self-hosting and custom layout with sanity however I don't think time customizing is worth it anymore.

Any thoughts

See more
Piotr Brudny
Needs advice

I am building a POC in Next.js. I usually use CRA+ MobX + Contentful, but this time I want to give a try to Next and GraphQL. Any suggestions on what tool to use for state management/content management? I am looking for a modern and quick to implement solution.

See more

Blog Posts

Next.js's Features

  • Zero setup. Use the filesystem as an API
  • Only JavaScript. Everything is a function
  • Automatic server rendering and code splitting
  • Data fetching is up to the developer
  • Anticipation is the key to performance
  • Simple deployment

Next.js Alternatives & Comparisons

What are some alternatives to Next.js?
Create React App
Create React apps with no build configuration.
Gatsby lets you build blazing fast sites with your data, whatever the source. Liberate your sites from legacy CMSs and fly into the future.
Hexo is a fast, simple and powerful blog framework. It parses your posts with Markdown or other render engine and generates static files with the beautiful theme. All of these just take seconds.
A highly-extensible, open-source Node.js framework that enables you to create dynamic end-to-end REST APIs with little or no coding. Connect to multiple data sources, write business logic in Node.js, glue on top of your existing services and data, connect using JS, iOS & Android SDKs.
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
See all alternatives

Next.js's Followers
4326 developers follow Next.js to keep up with related blogs and decisions.