Next.js logo

Next.js

A small framework for server-rendered universal JavaScript apps
1.3K
1.2K
+ 1
102

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 51.6K GitHub stars and 8.1K GitHub forks. Here’s a link to Next.js's open source repository on GitHub

Who uses Next.js?

Companies
489 companies reportedly use Next.js in their tech stacks, including ViaVarejo, Durstexpress GmbH, and CircleCI.

Developers
767 developers on StackShare have stated that they use Next.js.

Next.js Integrations

React, Material-UI, Builder, Sanity, and DatoCMS are some of the popular tools that integrate with Next.js. Here's a list of all 11 tools that integrate with Next.js.
Public 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.

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
Robert Zuber
Robert Zuber

We are in the process of adopting Next.js as our React framework and using Storybook to help build our React components in isolation. This new part of our frontend is written in TypeScript, and we use Emotion for CSS/styling. For delivering data, we use GraphQL and Apollo. Jest, Percy, and Cypress are used for testing.

See more
Divine Bawa
Divine Bawa
at PayHub Ghana Limited · | 14 upvotes · 245.1K views

I just finished a web app meant for a business that offers training programs for certain professional courses. I chose this stack to test out my skills in graphql and react. I used Node.js , GraphQL , MySQL for the #Backend utilizing Prisma as a database interface for MySQL to provide CRUD APIs and graphql-yoga as a server. For the #frontend I chose React, styled-components for styling, Next.js for routing and SSR and Apollo for data management. I really liked the outcome and I will definitely use this stack in future projects.

See more
Martin Johannesson
Martin Johannesson
Senior Software Developer at IT Minds · | 11 upvotes · 72.8K views

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
David Ritsema
David Ritsema
Frontend Architect at Herman Miller · | 7 upvotes · 56.3K views

When we started thinking about technology options for our own Design System, we wanted to focus on two primary goals

  1. Build a design system site using design system components - a living prototype
  2. Explore new ways of working to position our technical capabilities for the future

We have a small team of developers responsible for the initial build so we knew that we couldn’t spend too much time maintaining infrastructure on the Backend. We also wanted freedom to make decisions on the Frontend with the ability to adapt over time.

For this first iteration we decided to use Node.js, React, and Next.js. Content will be managed via headless CMS in prismic.io.

  1. Next.js so that we can run React serverside without worrying about server code.
  2. prismic.io so that our content is accessible via API and our frontend is fully independent.
See more
Daniel Hernández Alcojor
Daniel Hernández Alcojor
Frontend Developer at atSistemas · | 7 upvotes · 43.8K views

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

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?
Next.js
Next.js is a minimalistic framework for server-rendered React applications.
Create React App
Create React apps with no build configuration.
Gatsby
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
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.
LoopBack
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.
See all alternatives

Next.js's Followers
1232 developers follow Next.js to keep up with related blogs and decisions.
valen rey
Sheng Lu
Maciej Zasada
Jhorman Ruswel Tito Tito
Vratislav Bartonicek
brnpapa
Phil Deschaine
Praveen Kanase
Luis Jimenez
team bwi