opened
Leviathan91
username_0
I am trying to include this into an existing software app. The files which need translation already have an `export default`, so I cannot use `export default withTranslation('common')(LanguageExample)`.

But if I rewrite it to a regular export, of course it doesn't work and give me
`The default export is not a React Component in page: "/language"`:

Is there a workaround?
Apart from all that, this is exactly why people should avoid using default exports, there have been some articles about this already.
How to use this if default exporting doesn't work?
issue
closed
isaachinman
username_1
issue
created
Leviathan91
username_0
Thanks for your help I guess?
comment
created
isaachinman
username_1
Hi there. This is an issue tracker, not a help forum. Your questions seem to be general ones about how the JavaScript module system(s) work. Please post on StackOverflow. Good luck!
comment