Course lesson

Understand Server and Client Rendering and Data-fetching

You'll notice that at the top level, we've set 'use client' for our page. This means that everything on the page is a client component and we miss out on some benefits Next.js gives us by rendering on the server which includes a smaller bundle where sending...

Duration
1 min
Access
Free
Transcript
Retained from source evidence

You'll notice that at the top level, we've set 'use client' for our page. This means that everything on the page is a client component and we miss out on some benefits Next.js gives us by rendering on the server which includes a smaller bundle where sending to the client.

We'll fix this in the next lesson.