Course lesson
Refactor Dynamic CustomerId API Route Handler to a React Server Component
By converting our dynamic customerId Route Handler to a React Server Component we'll be able to get the benefits of streaming data to our application.
- Duration
- 4 min
- Access
- Free
- Transcript
- Retained from source evidence
By converting our dynamic customerId Route Handler to a React Server Component we'll be able to get the benefits of streaming data to our application.
This means we will be able to split our data loading into different Suspense boundaries that can render when each receives the data it needs.