Server-side Component

Framework Next.js 13 Server-side Component

Why Server Components?

By default, the app directory uses Server Components

Reducing the amount of JavaScript sent to the client. Large dependencies that previously would impact the JavaScript bundle size on the client

Server Components make writing a React application feel similar to PHP or Ruby on Rails, but with the power and flexibility of React for templating UI.

Component-level Client and Server Rendering