Skip to content

feat(napi): add React Compiler transform binding - #24934

Draft
Boshen wants to merge 7 commits into
mainfrom
feat/napi-transform-react
Draft

feat(napi): add React Compiler transform binding#24934
Boshen wants to merge 7 commits into
mainfrom
feat/napi-transform-react

Conversation

@Boshen

@Boshen Boshen commented Jul 26, 2026

Copy link
Copy Markdown
Member

Adds oxc-transform-react, a native and WASI N-API binding that runs React Compiler before TypeScript and JSX lowering. Mirrors react-compiler-napi options and integrates public CI and trusted npm publishing while keeping React Compiler decoupled from oxc and oxc_transformer.

Validated with native/WASI package checks, transformer tests, Clippy, and formatting. Full just ready reached unrelated oxlint fixture and terminal-color snapshot failures.

AI disclosure: Implemented with Codex assistance.

@github-actions github-actions Bot added the A-transformer Area - Transformer / Transpiler label Jul 26, 2026
@codspeed-hq

codspeed-hq Bot commented Jul 26, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 67 untouched benchmarks
⏩ 9 skipped benchmarks1


Comparing feat/napi-transform-react (c075ad9) with main (3ff2e0e)

Open in CodSpeed

Footnotes

  1. 9 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@Boshen
Boshen force-pushed the feat/napi-transform-react branch from 7937e1f to c075ad9 Compare July 27, 2026 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-transformer Area - Transformer / Transpiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant