Rust port of babel-plugin-react-compiler for OXC/Vite v8. Current stable version: 0.2.0. Release cadence: frequent (10+ versions in 3 months). Key differentiators: 100% conformance parity with upstream React Compiler, Rust performance, source map generation. Not official React or OXC project, community-driven. Experimental, but aims for exact behavior alignment.
npm install oxc-plugin-react-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures Vite 8+ with oxc-plugin-react-compiler for React compiler optimizations.
Use import from 'oxc-plugin-react-compiler/eslint' for ESLint/Oxlint.
Update Vite to >=8.0.0.
Use import syntax instead of require().
Use 'oxc-plugin-react-compiler/eslint' for ESLint/Oxlint.
Upgrade to v0.2.0+ for ESM support or use bundler that handles mixed modules.
Ensure you use import { reactCompilerOxc } from 'oxc-plugin-react-compiler' and have v0.2.0+ installed.Use import statement and ensure project uses ESM (type: 'module' in package.json) or use bundler.
Check documentation for valid options: compilationMode ('infer'|'annotation'|'all'), panicThreshold ('none'|'all'), target ('18'|'19'), sources (string[]|function).