Skip to content
Discussion options

You must be logged in to vote

No.

'use client' components, are still SSR'd:

Client Components are the same components we have used up till now. The new thing are Server Components, which exclusively render on a server context.

This also means that you cannot access window, and other DOM APIs, etc. Your code still has to be able to run in both server and browser JavaScript contexts.

There are techniques to side-step SSR for Client Components though, but it is nothing you get out of the box so to speak:

Replies: 2 comments 15 replies

Comment options

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

@heygsc
Comment options

@heygsc
Comment options

@icyJoseph
Comment options

@heygsc
Comment options

Answer selected by heygsc
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
4 participants