Skip to content

React Compiler oxc plugin #10048

@poteto

Description

@poteto

I wanted to open an issue capturing some of our past discussion on adding support for React Compiler as an oxc plugin.

For context, the React team reached out to both the swc and oxc projects a few months ago to collaborate on an official plugin for both projects to run React Compiler, allowing React apps to eliminate their Babel pipelines if it only existed to run the compiler.

There has been some progress on the swc side which has allowed us to start experimenting with running the compiler in swc in the compiler playground: facebook/react#32428. More testing is still required, but we've been excited to make progress on this as one of the most requested features for React Compiler is swc and oxc support.

We would love to collaborate on an official plugin for oxc. I understand oxc is not yet the default for Vite, but it would be incredible if we can get React Compiler support in oxc before it does. Please reach out via DM (X, Bluesky, etc) if you're interested in working together on this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-transformerArea - Transformer / Transpiler

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions