TanStack Start just shipped server components, and they took a completely different approach from Next.js. Instead of making your whole app server-first, TanStack lets you opt in to server components as granularly as fetching JSON.
🔗 Relevant Links
Docs: https://tanstack.com/start/latest/docs/framework/react/guide/server-components
Announcement: https://tanstack.com/blog/react-server-components
❤️ More about us
Radically better observability stack: https://betterstack.com/
Written tutorials: https://betterstack.com/community/
Example projects: https://github.com/BetterStackHQ
📱 Socials
Twitter: https://twitter.com/betterstackhq
Instagram: https://www.instagram.com/betterstackhq/
TikTok: https://www.tiktok.com/@betterstack
LinkedIn: https://www.linkedin.com/company/betterstack
📌 Chapters:
00:00 Intro
00:17 Different Approach
01:00 Server Components
01:50 renderServerComponent
03:35 Nested Client Components
03:59 use client
04:51 Composite Components
06:53 Render Props
09:22 Component Props
10:38 Advanced Patterns
11:21 My Thoughts
#webdevelopment #reactjs #javascript #frontend