#react-compiler #facebook #port #forked #vendored

forked_react_compiler_hir

Rust port of the React Compiler, vendored from facebook/react

4 releases

Uses new Rust 2024

new 0.1.3 Jun 8, 2026
0.1.2 Jun 6, 2026
0.1.1 Jun 6, 2026
0.1.0 Jun 4, 2026

#8 in #vendored

Download history 1063/week @ 2026-06-01

1,063 downloads per month
Used in 11 crates (9 directly)

MIT license

345KB
9K SLoC

Forked React Compiler

Why this exists

oxc and Rolldown need the React Compiler Rust port on crates.io, but published crates can't use git dependencies — every dependency must itself be on crates.io. The port lives only in an unmerged React PR and was never published, so this repo vendors it, patches the crates to be releasable, and publishes them as forked_react_compiler_*.

The source is synced over unchanged — the only edits are to Cargo.toml files (no code changes).

Dependencies

~1–2.1MB
~41K SLoC