React Server Components: A Comprehensive Breakdown

React Server Components: A Comprehensive Breakdown

Theo - t3․gg

8 месяцев назад

92,604 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@SalsaAS85
@SalsaAS85 - 28.11.2023 14:33

This is a kick ass explanation with lots of passion coming through the examples. Thank you sir! <3

Ответить
@timfrancois9368
@timfrancois9368 - 18.11.2023 14:57

after playing a while with next and RSC and getting to understand how it works, it's actually crazy to have an overview how optimized things get. That is explained very well in this video

Ответить
@aabhasdhaubanja1184
@aabhasdhaubanja1184 - 09.11.2023 07:47

great video

Ответить
@ComfyCosi
@ComfyCosi - 09.11.2023 00:32

Bro it's videos like this that remind me why I subscribed like 12 months ago

Ответить
@TheKennyWorld
@TheKennyWorld - 04.11.2023 23:02

But why use React then?

Ответить
@zindev
@zindev - 04.11.2023 01:31

Everything we need to understand all of the new and upcoming features. Thank you Theo!

Ответить
@himanshutripathi7441
@himanshutripathi7441 - 02.11.2023 08:13

Hey theo. I have a classic backend application with react as frontend and python flask as a backend.
I am not allowed to move the database and credentials to the frontend due to security .
How can i levearage this ssr and similar technologies in not Node.js backends
.

Ответить
@user-xj5gz7ln3q
@user-xj5gz7ln3q - 30.10.2023 17:10

20 Megs of JavaScript. OMG..

Ответить
@lklivingstone7801
@lklivingstone7801 - 23.10.2023 22:32

AMAZING CONTENT!!

Ответить
@PaulSebastianManole
@PaulSebastianManole - 23.10.2023 00:21

So React can now basically do static HTML markup generation on command from the client, instead of doing it on application build. Cool. Combine that with a Redis cache and you'll have the next generation of blazingly fast Web applications.

Ответить
@jorgerangel2390
@jorgerangel2390 - 21.10.2023 16:27

Remember java serverfaces?, well I hate this exactly for the same reason, has nothing to do with the regression to php like code or the super shady move by Versel, the problem is trying to abstract away the server is a bad idea period.

Ответить
@emanuelfarauanu1760
@emanuelfarauanu1760 - 19.10.2023 18:15

This is the kind of content I subscribed to you for, amazing in depth explanations!

Ответить
@HDv2b
@HDv2b - 19.10.2023 13:48

I agree "use client" was a mistake. I sent l picked up nextjs after a year away and missed the memo that it will still render on the server, and was a very frustrating time until I realised this

Ответить
@albertgao7256
@albertgao7256 - 12.10.2023 00:07

Although RSC greatly mitigated the performance problem in SSR, i still find route switching to be janky than a well-built SPA (PWA mode in which it has no bundle-downloading-problem right after 1st load)...not to mention the running server problem, it is basically adding performance overhead for a non-node-js backend workshop. But it makes the prototyping phase extremely fast....I like it when doing early stage exploring.

Ответить
@mishka0
@mishka0 - 11.10.2023 16:32

Isn't this comparable to classic technologies like PHP, JSP, ASPX, ... so going back from SPA to more traditional web app development at the end?

Ответить
@serge.stecenko
@serge.stecenko - 11.10.2023 09:26

Thank you so so much Theo! These videos are both educational and inspirational. Like you content and approach so much! Thank youand have a nice day!

Ответить
@DioArsya
@DioArsya - 11.10.2023 06:16

dang it

Ответить
@pipely
@pipely - 10.10.2023 21:17

RSC - welcome to functionality that almost every other framework supported at V1. :)

Ответить
@Fernando-ry5qt
@Fernando-ry5qt - 09.10.2023 20:45

So, Node is PHP now, got it.

Ответить
@nawti2371
@nawti2371 - 09.10.2023 00:46

I loved this man you explained everything so good. I already knew a lot of it but didn't have a complete grasp on the overall concept and it's so much more clear to me thank you so much for this.

Ответить
@jamesfoley4426
@jamesfoley4426 - 08.10.2023 21:33

When did reading someone else's content become a thing. Just read the article first. You add no particular insight into creating a metal modal for your audience, other than what Josh wrote. This is very lazy content just like Primeagen it's why I no longer consider you viable sources. Shame you could do so much for mid level devs. Because you do have a really good presentation style when you are explaining concepts.

Ответить
@Ikakoo2410
@Ikakoo2410 - 08.10.2023 10:07

Thanks Theo

Ответить
@theklr
@theklr - 07.10.2023 16:54

Comprehensive is the right word for this. I think the major gripe (and this isn't explicit to react) is the lack of documentation/ best practices so the standard copypasta learn pattern isn't feasible, plus it's a new paradigm shift in thinking if you already had the original paradigm shift of react. Now as we approach a year, hopefully vercel isn't the only player in the game and we actually have more open dialogues and discussions other than "change bad."

Ответить
@richardpolderl3675
@richardpolderl3675 - 07.10.2023 15:16

One thing that could’ve been addressed: server components can have state mutable by clients as well.

What if a i18n server component depends on a 🍪 to only send the necessary translation strings in the html and the user changes the language via a button click?

We need a router here to trigger a one-time render of the entire react tree (incl the RSCs) afaiu (eg router.refresh() )

Apart from this: great video, I’m thankful that you made it so comprehensive.

I love that you used Josh’s very well written article and hydrated it with your examples, explanations & visualizations. 🪴 💧

Ответить
@chris94kennedy
@chris94kennedy - 07.10.2023 14:04

as a (mostly) server developer who works for a company that still uses heaps of jquery on the frontend, i benefit a lot from these kinds of videos, which is knowledge that you would just acquire through exposure and usage of the tech otherwise. Thanks for helping me keep up to date on the myriad frontend frameworks/paradigm shifts

Ответить
@YazeedAlKhalaf
@YazeedAlKhalaf - 07.10.2023 12:11

How is this different from PHP? 😁

Old is always GOLD

Ответить
@5ar8n
@5ar8n - 07.10.2023 07:04

i don’t hate him, but i hate how he says “yall”

Ответить
@watchchat
@watchchat - 07.10.2023 06:59

Great video!

Ответить
@rafamuttoni
@rafamuttoni - 07.10.2023 06:49

Amazing video! Thanks Josh and Teo!

Ответить
@bridgertower
@bridgertower - 07.10.2023 06:45

Amazing video. Thank you Theo

Ответить
@paulomattos6753
@paulomattos6753 - 06.10.2023 23:45

My point is:

This is going to be useless in a few years because javascript will get lighter and the internet faster, so, the loading spinner is going to be almost invisible

Ответить
@patrickjreid
@patrickjreid - 06.10.2023 18:39

This was amazing!!! You covered almost everything I was missing!

Ответить
@PHAL__
@PHAL__ - 06.10.2023 18:28

So, let me get this straight, it's just html template + js for reactivity? Just like we did 100 years ago at Jquery times?

Or better yet, it's just SSR + Hydration?

Ok

Ответить
@jocdiazm
@jocdiazm - 06.10.2023 18:28

Common Joshwcomeau W + Banger video and demo. I wish I had this type of resources a couple of months back

Ответить
@TheSilasbulan
@TheSilasbulan - 06.10.2023 17:21

Thanks for the vid, now it's easier to wrap my mind around RSC. I wonder, does streaming make sense when the page is cached in a CDN?

Ответить
@TomershalevMan
@TomershalevMan - 06.10.2023 17:06

But, RSC costs more money. You wouldn't use RSC for a blog and even an app if you can go Client Side rendering with a static hosting, right ?
Who cares about these milliseconds or even a second of performance ?

I care about cost effectiveness. Therefore, i will still go with cheap CDN and client side

Ответить
@dennisloska
@dennisloska - 06.10.2023 15:35

At this point they should rename React as there's not much reacting going on anymore when the default behavior is to have stateless server components.

Ответить
@sadkebab
@sadkebab - 06.10.2023 14:46

It's insane how after a year of so of demos and talks about RSC so many engineer still get them wrong.

Ответить
@stefanoslalic2199
@stefanoslalic2199 - 06.10.2023 14:27

What's the name of the software for whiteboarding ?

Ответить
@victorbrown3155
@victorbrown3155 - 06.10.2023 10:16

If you have a SINGLE client component that needs to be client then all next pages become loaded. You could have 100 pages and 1 heavy one and it'll kill your app.

Why does next not handle this better since it's all per page?

Ответить
@victorbrown3155
@victorbrown3155 - 06.10.2023 10:15

The biggest thing missing from all these videos is they don't explore what happens later in client side navigation, how are things prefetched and so on.

Ответить
@mementomori8856
@mementomori8856 - 06.10.2023 08:57

You've opened my eyes!

Ответить
@venicebeachsurfer
@venicebeachsurfer - 06.10.2023 06:07

NextJS Router is just not ready for Prime Time Enterprise level... production. Its not. SO, Pages directory is our only alternative.

Ответить
@tak68tak
@tak68tak - 06.10.2023 04:53

Indeed, another example of utilizing a server component is to manage the localization dictionary, avoiding the need to include it in the client-side JavaScript bundle.

Ответить
@faraonch
@faraonch - 06.10.2023 01:19

One of your (and kudos to Josh) best videos! Really well underlined! .. and packed in a beautiful summary well done breakdown.

Ответить
@joelp6132
@joelp6132 - 06.10.2023 00:05

Web dev peaked with classic asp back in 2007.

Ответить
@billybest5276
@billybest5276 - 06.10.2023 00:03

Great video. Server component are really awesome, Idk how anyone can argue against it..

Ответить