github vitejs/vite-plugin-react plugin-react@6.1.0

latest release: plugin-react@6.1.1
24 days ago

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-react
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

export default defineConfig({
  plugins: [
     react({ compiler: true })
  ]
})

Don't miss a new vite-plugin-react release

NewReleases is sending notifications on new releases.