Skip to content
Discussion options

You must be logged in to vote

My understanding was that with 'use client', the components would only render on the client side, so I didn't expect to see so much pre-rendered content in the initial HTML.

That's wrong. Many tech-influencers, have heavily miscommunicated this.

Client Components, are the traditional components, so to speak, and these are rendered during any type of SSR pass.

The special behavior, rather, is for Server Components, which do not send their JavaScript to the client.

If want to defer rendering to the client, there are other techniques such as:

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@icyJoseph
Comment options

@sahandghorbani
Comment options

@sahandghorbani
Comment options

@sahandghorbani
Comment options

@icyJoseph
Comment options

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