Course lesson
Refactor Next.js User Info Api Route into React Server Components
Now that we have done this a few times the encouragement here is for you to find the component that is doing client side data fetching for user info and refactor the api route and client fetching to be a server component
- Duration
- 4 min
- Access
- Free
- Transcript
- Needs source
Now that we have done this a few times the encouragement here is for you to find the component that is doing client side data fetching for user info and refactor the api route and client fetching to be a server component
If you would prefer to look at the code checkout to the 'solution' branch and look in the final folder and you will find the refactored component.