Create a Server
How to Share Data Between Server Components in Next.js
How to Share Data Between Server Components in Next.js 13 đĄ#nextjs #nextjs13 #nextjstutorial
#Share #Data #Server #Components #Next.js
“Coding in Flow”
How to share data between server components, like pages and layouts, in the Next.js 13 app router, and how to use React cache to deduplicate Axios, ORM (Prisma), and GraphQL requests.
â Get my full-stack Next.js with Express & TypeScript course:
â
Get my free React Best Practices course:
đ Join my newsletter for regular web dev tips:
đŦ Join our developer community on Discord:
đŖ Follow Coding in Flow on social media:
Twitter:
Instagram:
TikTok:
Facebook:
source
To see the full content, share this page by clicking one of the buttons below |
Get my FREE React Best Practices course: https://codinginflow.com/reactbestpractices
How do you share the data to the client component?
How about handling that with tRPC ?
I use header stale time etc … is it the correct method?
so the point is we have to create api route to contain the data and fetching through it to get the data?