Skip to content
Discussion options

You must be logged in to vote

stream only the required chunk to the client

What exactly does that mean?

You can certainly do something like this:

function ServerComponent() {
  const t = await getTranslations({locale: 'en'});
  return <LanguageSuggestion title={t('title')} ... />
}

… where LanguageSuggestion is a Client Component.

Replies: 1 comment 7 replies

Comment options

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

@amannn
Comment options

@abriginets
Comment options

@amannn
Comment options

Answer selected by abriginets
@abriginets
Comment options

@abriginets
Comment options

@amannn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants