We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If an es6 module has a single component (and its set to the default for the module) we don't automatically import it.
Fix is to add this check in ReactWrapper.eval_native_component
ReactWrapper.eval_native_component
component = `component.default` if `component.__esModule`
workaround is to either use the import directive in the manifest (which takes care of this case) or do a require('foo').default
require('foo').default
see for details https://stackoverflow.com/questions/40294870/module-exports-vs-export-default-in-node-js-and-es6
The text was updated successfully, but these errors were encountered:
ece10ec
No branches or pull requests
If an es6 module has a single component (and its set to the default for the module) we don't automatically import it.
Fix is to add this check in
ReactWrapper.eval_native_component
workaround is to either use the import directive in the manifest (which takes care of this case) or do a
require('foo').default
see for details
https://stackoverflow.com/questions/40294870/module-exports-vs-export-default-in-node-js-and-es6
The text was updated successfully, but these errors were encountered: