Add experimental native React Compiler support (#1419)
Add experimental native React Compiler support.
You can use it by installing oxc-transform-react and enabling it via the compiler option:
npm install -D oxc-transform-reactimport { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [
react({ compiler: true })
]
})