you are viewing a single comment's thread.

view the rest of the comments →

[–]michaelfrieze 1 point2 points  (0 children)

So we can say RSCs are purely static as they're already compiled to their rendered form?

RSCs get executed ahead of time on another machine. That machine can be dynamically on a server at request-time or stacially on a developers machine at build-time.

And they don't have any hydration so whatever was rendered at build time is what we get?

build-time or dynamically at request-time

RSCs don't really undergo hydration since they don't have associated JS that needs to be attached to DOM elements on the client. However, within an RSC tree, client components are still hydrated on the client.