Course lesson

Refactor Customer GET Route Handler to Server Component in Next.js 13 App Router

Up to this point we have only created a few server components. Outside of these few server components our app is primarily a client side app that just happens to use the app router.

Duration
2 min
Access
Free
Transcript
Retained from source evidence

Up to this point we have only created a few server components. Outside of these few server components our app is primarily a client side app that just happens to use the app router.

By moving our customers GET route handler into a server component we start to make use the app router architecture.