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
It seems, at least in my case, that the JSX transform is either ignored or not working (anymore?).
This Reference Error React is not defined comes up when removing React from the import.
React is not defined
React
Tried hard to pinpoint to issue, but I failed to.
Any ideas or pointers?:)
The text was updated successfully, but these errors were encountered:
Do you have a repro repo you can share?
Sorry, something went wrong.
@shilman I am afraid not since it's a (huge) private repo.
My guess is that somehow my custom webpack config is causing this, however, all I have tried has failed.
Will get back to you with any additional findings, if any.
It turns out the issue was a side-effect of me using esbuild (custom webpack config) before. babel-loader.
config.plugins.push(new webpack.ProvidePlugin({ 'React': 'react', }));
fixed it.
No branches or pull requests
It seems, at least in my case, that the JSX transform is either ignored or not working (anymore?).
This Reference Error
React is not defined
comes up when removingReact
from the import.Tried hard to pinpoint to issue, but I failed to.
Any ideas or pointers?:)
The text was updated successfully, but these errors were encountered: