老师你好,
想问下如何创建一个 React 16 的项目,和你的环境保持一致。我跟着这个教程试了一下:https://dev.to/lowla/create-react-app-with-a-previous-version-of-react-4g03
但 npm start 的时候依然报错:
./src/App.js
Line 6: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 7: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 8: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 9: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 10: 'React' must be in scope when using JSX react/react-in-jsx-scope
Line 12: 'React' must be in scope when using JSX react/react-in-jsx-scope
能否补充一下一些目前 2023 关于环境搭建的 tips,谢谢