Streaming
In NextJS, Streaming enables you to progressively render UI from the server. It means it split into chunks and streamed to the client as its becomes ready. This allows the user to parts of the page immediately, before the entire content has finished rendering.
It is by default in NextJS App Router.
Server Components in Next.js
NextJS is a popular and powerful React Framework that simplifies building modern web applications was created by Vercel (formerly Zeit), and NextJS simplifies the process of building modern web applications by providing a robust framework.
In this post, we will explore the Server Components in NextJS.
Table of Content
- What are Server Components?
- How are server components rendered?
- Static Rendering
- Dynamic Rendering
- Streaming
- Benefits of Server Rendering: