Skip to content

Paraglide in Server Components #1776

Discussion options

You must be logged in to vote

Yes! You can use ParaglideJS with Server Components.
You can even mix Server & Client components and it still works! You just need to make sure that the language get's set on both the server and the client.

Here is an example project on how to do that. Soon there will be a written Guide on how to do this too. We will also encapsulate all the reuseable parts into a package, so that you won't have to do the setup on every project.

Hope that helps!

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@IAPBenediktZwoelfer
Comment options

@LorisSigrist
Comment options

Answer selected by LorisSigrist
Comment options

You must be logged in to vote
2 replies
@LorisSigrist
Comment options

@thenbe
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: inlang/paraglide-js Related to source-code/sdk-js.
6 participants
Converted from issue

This discussion was converted from issue #1775 on November 29, 2023 04:12.