Closed AlexandrePhilibert closed 2 years ago
Here is a repo reproducing the issue : https://github.com/AlexandrePhilibert/blitzjs-nexti18-next
ok, thanks @AlexandrePhilibert!
I have the same issue
For whoever wants to work on this, here's the code that needs changed: https://github.com/blitz-js/blitz/blob/canary/packages/babel-preset/src/add-blitz-app-root.ts#L15
Currently that results in
export default withBlitzAppRoot(appWithTranslation(App))
but we need to change it to result in
export default appWithTranslation(withBlitzAppRoot(App))
Reopening this as it seems to be an issue again — related discussion: https://discord.com/channels/802917734999523368/913414036778008636/913444197128876052
@beerose we nolonger have the withBlitzAppRoot
wrapper. I think the issue in discord is something else
Ok, going to close it then.
What is the problem?
I am not able to wrap the
App
component with theappWithTranslation
HOC provided by : https://github.com/isaachinman/next-i18nextPaste all your error logs here:
Paste all relevant code snippets here:
_app.tsx should look like this :
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
Blitzjs seems to not render the children of the
App
component if it is being wapped with a HOC