-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage with SSR (getServerSideProps) instead of SSG? #23
Comments
That's a good point. For now, you can load locales client-side without any |
I think it's mainly a TypeScript issue. If I suppress errors it works just fine, since locals can be read from both
|
I can't use
getStaticProps
because I rely ongetServerSideProps
on some pages. How can I make my translations available? Is there an equivalent togetLocaleStaticProps()
for SSR instead of SSG?The text was updated successfully, but these errors were encountered: