Understand Server and Client Rendering and Data-fetching

Share this video with your friends

Send Tweet

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.