Table of Content

Installation



Let's create next-app together. Learn how to install the Next.js in this chapter.

System Requirements

- Node

This article explains the new features in Python 3.11, compared to 3.10.

Download the latest version for Windows



Main Features


FeatureDescription
RoutingA file-system based router built on top of Server Components that supports layouts, nested routing, loading states, error handling, and more.
RenderingClient-side and Server-side Rendering with Client and Server Components. Further optimized with Static and Dynamic Rendering on the server with Next.js. Streaming on Edge and Node.js runtimes.
Data FetchingSimplified data fetching with async/await in Server Components, and an extended fetch API for request memoization, data caching and revalidation.
StylingSupport for your preferred styling methods, including CSS Modules, Tailwind CSS, and CSS-in-JS
OptimizationImage, Fonts, and Script Optimizations to improve your application's Core Web Vitals and User Experience.

App Router vs Pages Router


Next.js has two different routers: the App Router and the Pages Router. The App Router is a newer router that allows you to use React's latest features, such as Server Components and Streaming. The Pages Router is the original Next.js router, which allowed you to build server-rendered React applications and continues to be supported for older Next.js applications.

In this docs, we'll learn Page router first and then the App router.

To get the most out of our docs, it's recommended that you have a basic understanding of HTML, CSS, and React.