Skip to content

In Next.js 15, is there a reason to use RSC and SSR together? #73969

Answered by icyJoseph
jeongminsang asked this question in Help
Discussion options

You must be logged in to vote

SSR is a blanket term, for generation/creation of HTML strings, on a server, which are then sent to a client. How this is created, how is it sent, etc, are implementation details.

RSC, are React Server Components. These are a new type of component, which, among other things:

  • doesn't need to sent their JavaScript to the client, for hydration
  • run exclusively server side

What you call RCC, I guess means, Client Components, these are the components we have used all the time, up to this point. Worth mentioning that Client Components, are also SSR'd, reactwg/server-components#4

rsc is also a format, used by React, to communicate the shape of a UI tree, from the server to the client, during ru…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jeongminsang
Comment options

@icyJoseph
Comment options

@blf885
Comment options

Answer selected by jeongminsang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants