-
-
Notifications
You must be signed in to change notification settings - Fork 764
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
Export with withNamespaces messing with SSR #52
Comments
I'm having an error also in production, but I think it's due to using next-redux-saga and next-redux-wrapper with next-i18next. I've made a CodeSanbox: https://codesandbox.io/s/v8796vz3m5. The error appears also using react-redux 6.0.0 (in the sandbox i'm using 5.1.1). Hope it helps. Thank you. |
Hi @yonjuukyuu and @Clebal. @yonjuukyuu Do you mind explaining your problem a little bit more, or sharing a repository / CodeSandbox to reproduce the issue? I don't really understand what you are saying so far. Do you mean that you're doing
What does this mean? I'm not familiar with "isomorphic-unfetch" but I doubt that is affecting your Basically - as soon as you can show me code / a reproducible example, I can help you. |
Hello Isaac I have the same issue without any dependency like he mentioned, just try to export with your example form this repo, export doesnt work anymore, there is what my terminal shows :
I updated from v.0.8.0 to v0.10.2 Thanks |
What do you mean export? Do you mean running If someone provides clear steps to reproduce the problem, I can definitely debug this. However, I should be absolutely clear that doing a
|
Any update here? |
Will try to push it to a repo. today |
I can confirm that I want to reiterate that doing That said, it's simple enough to support export, so if you do find an issue please let me know and I'll reopen. |
Hi there, i have setup i18next with SSR and is working fine for me on dev, but on production the pre-rendering of the page with fetch isomorphic-unfetch and getInitialProps is not working as expected.
everything is been rendered on client , and i wanted to render on server and deliver as html, which if i remove the export withNamespaces to the default export of nexus.js it works fine bu then translations won't work.
I am i doing something wrong the setup that i have is based on the exemples you have on the git _app.js , i18n.js , and nextI18NextMiddleware on server.js
The text was updated successfully, but these errors were encountered: