Skip to content

[Question] Server Components #2474

Answered by necolas
jamesisaac asked this question in Q&A
Jan 24, 2023 · 3 comments · 10 replies
Discussion options

You must be logged in to vote

I can't say I know much about server components. But I suppose the issue is related to the need for context to be present in the client.

At Meta almost all the leaf component primitives in design systems use context as well. And Meta doesn't use server components in any meaningful capacity. Even if RNW didn't use context for RTL, it still uses it in every primitive to manage the relationship between View and Text as expected in RN.

You can always SSR RNW code though. Server components are a different, experimental concept focused instead on not shipping "server only" code to the client.

Replies: 3 comments 10 replies

Comment options

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

@jamesisaac
Comment options

@gaearon
Comment options

@filiptdz
Comment options

@nickderobertis-ch
Comment options

Answer selected by jamesisaac
Comment options

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

@filiptdz
Comment options

@mikevocalz
Comment options

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
Q&A
Labels
enhancement Requires extension or creation of new React Native API
7 participants
Converted from issue

This discussion was converted from issue #2472 on January 24, 2023 08:09.