[V3] React plugin generates warnings for arrow function components when using jsxRuntime: "classic"
#8947
Closed
7 tasks done
Labels
duplicate
This issue or pull request already exists
Describe the bug
I'm defining a React component as an arrow function, e.g.
const App = () => {...}
.This produces no warning in v2. In v3 beta 6, every arrow function component generates a warning along the lines of:
Reproduction
https://stackblitz.com/edit/vitejs-vite-xncvpl?file=src%2FApp.tsx,package.json,vite.config.ts,src%2Fmain.tsx,README.md&terminal=dev
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: