Refactor Next.js User Info Api Route into React Server Components

Ben Patton
InstructorBen Patton
Share this video with your friends

Social Share Links

Send Tweet
Published a year ago
Updated a year ago

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.