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
Describe the bug 'React' must be in scope when using JSXeslint[react/react-in-jsx-scope]
Starting with React 17, we no longer need to import React in each component. But now ESLint is complaining about the absence of this import.
Possible fix: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md
The text was updated successfully, but these errors were encountered:
Will fix, thanks
Sorry, something went wrong.
No branches or pull requests
Describe the bug
'React' must be in scope when using JSXeslint[react/react-in-jsx-scope]
Starting with React 17, we no longer need to import React in each component.
But now ESLint is complaining about the absence of this import.
Possible fix: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md
The text was updated successfully, but these errors were encountered: