Watch this if you hate React Server Components
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Unlock all features
FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.
Related videos
React got hacked. It's really, really bad.
Theo - t3․gg
112.4k views
You have no idea how how bad this really is.
Theo - t3․gg
98.9k views
If you write code, please watch this.
Theo - t3․gg
78.0k views
You’re all wrong
Theo - t3․gg
76.4k views
I hate that this is still happening
Theo - t3․gg
82.4k views
React is killing the web
Theo - t3․gg
59.9k views
Watch this if you use shadcn/ui
Theo - t3․gg
210.8k views
Why Tech Companies Are Moving Off React
Theo - t3․gg
153.7k views
Remix is ditching React (and I think that's a good thing)
Theo - t3․gg
91.5k views
I never saw this coming
Theo - t3․gg
157.0k views
Top Comments (10)
Astro's approach with server-side/static rendering by default and its islands are and always will be the right approach for this. Next.js and React have become a framework where you have to think too actively about rendering details.
The only unfortunate part of the article is because it is React and somewhat Next focused it didn't uncouple streaming from Server Components. It is unfortunate because I think streaming is where most of the benefits here comes from. Server Components might even be a detriment, but there is no comparison to verify either way.
Nadia is the bomb. I love her book Advanced React!
For SPA's, If the backend is aware of the frontend routes, you could: - Send the html to client, not close connection, stream in the the data need for the page. (i.e. while the js loads, you already have the data so no waterfall for that - Easier: add prefetch headers for all resources needed for that page (assuming backend know front-end routes and which data is needed). When the request runs in the frontend loaders, it immediately resolve and data is instant visible Which from my perspective seems way less complex that rendering the page, with all quirks and potential hydration issues.
Can someone tl;dr? Is SSR faster? I don't want to watch 40 minutes of technicalities
I think I understood about 75% of this already but really interesting dive. Thanks!
QUICK IMPORTANT CLARIFICATION: at 36:00, I went looking for the tailwind flag, but this is a NextJS feature (W next) which lets you inlineCSS which is still experimental so please use with caution! Thank you for your time :D
Bro your facial expressions in thumbnails are insane :D
Cool breakdown Theo!
6:04 I'm really confused, can you please help me understand this? Everything else I'm reading says the opposite of this, RSCs only run on the server (component code is not sent down) and server components run on the server and client (component code *is* sent down).
Unlock the Data Inside
Turn Videos into Knowledge
- Get FREE 10/day: transcripts, summaries, chats
- Chat with videos, export text & PDF
- $1 free API credit for RAG, chatbots & research
Free forever plan • All features unlocked
Top Comments (10)
Astro's approach with server-side/static rendering by default and its islands are and always will be the right approach for this. Next.js and React have become a framework where you have to think too actively about rendering details.
The only unfortunate part of the article is because it is React and somewhat Next focused it didn't uncouple streaming from Server Components. It is unfortunate because I think streaming is where most of the benefits here comes from. Server Components might even be a detriment, but there is no comparison to verify either way.
Nadia is the bomb. I love her book Advanced React!
For SPA's, If the backend is aware of the frontend routes, you could: - Send the html to client, not close connection, stream in the the data need for the page. (i.e. while the js loads, you already have the data so no waterfall for that - Easier: add prefetch headers for all resources needed for that page (assuming backend know front-end routes and which data is needed). When the request runs in the frontend loaders, it immediately resolve and data is instant visible Which from my perspective seems way less complex that rendering the page, with all quirks and potential hydration issues.
Can someone tl;dr? Is SSR faster? I don't want to watch 40 minutes of technicalities
I think I understood about 75% of this already but really interesting dive. Thanks!
QUICK IMPORTANT CLARIFICATION: at 36:00, I went looking for the tailwind flag, but this is a NextJS feature (W next) which lets you inlineCSS which is still experimental so please use with caution! Thank you for your time :D
Bro your facial expressions in thumbnails are insane :D
Cool breakdown Theo!
6:04 I'm really confused, can you please help me understand this? Everything else I'm reading says the opposite of this, RSCs only run on the server (component code is not sent down) and server components run on the server and client (component code *is* sent down).