Chore: Remove unnecessary import
Closed this issue · 1 comments
corners2wall commented
After react v17.0.0 we can not import React from 'react';
paste in any jsx/tsx file.
see doc
Just add in tsconfig.json
"compilerOptions": {
"jsx": "react-jsx"
}
And remove every where
kotAPI commented
This suggestion isn't valid for libraries, you need to be explicit about dependencies.