This is because of Eslint.
Edit .eslintrc (or the rules in package.json) and add the following rules:
{ "rules": { "react/jsx-uses-react": "off", "react/react-in-jsx-scope": "off" } }
701200cookie-checkVSCode removes React import
This is because of Eslint.
Edit .eslintrc (or the rules in package.json) and add the following rules:
{ "rules": { "react/jsx-uses-react": "off", "react/react-in-jsx-scope": "off" } }