Logo Light
decent-docs

Next.JS

Used by some of the world's largest companies, Next.js enables you to create high-quality web applications with the power of React components.

Why choose react js insted of next js

React is great. It's flexible, powerful, and super popular. But sometimes you need a bit more structure and built-in features to move faster and avoid setup headaches. That’s where Next.js comes in.

Tutorial time: 0h 3m 51s

FeatureReactNext.js
RoutingManual setupFile-based, built-in
SSR/SSGNot includedBuilt-in
API RoutesNeeds extra toolsBuilt-in
Production FeaturesManual setupBuilt-in

Install Next.js

Tutorial time: 0h 2m 58s

To install Next.js, run the following command in your terminal:

npx create-next-app@latest

I prefer bun instead of npx because it's faster.

On this page