Yes, the React Compiler is a babel plugin. But a SWC plugin is in progress. EDIT: In your bundler, you can both use SWC and Babel. Babel will work before SWC. But since the swc plugin is being developed, I would recommend to wait for the SWC plugin Answer from ThebardaPNK on reddit.com
npm
npmjs.com › package › babel-plugin-react-compiler
babel-plugin-react-compiler - npm
October 7, 2025 - Babel plugin for React Compiler.. Latest version: 1.0.0, last published: 6 months ago. Start using babel-plugin-react-compiler in your project by running `npm i babel-plugin-react-compiler`. There are 77 other projects in the npm registry using babel-plugin-react-compiler.
» npm install babel-plugin-react-compiler
Do you still need "babel-plugin-react-compiler" if you're using React 19.1
Yes, the React Compiler is a babel plugin. But a SWC plugin is in progress. EDIT: In your bundler, you can both use SWC and Babel. Babel will work before SWC. But since the swc plugin is being developed, I would recommend to wait for the SWC plugin More on reddit.com
Errors when running with Babel-based React Compiler
Describe what's incorrect/missing in the documentation https://reactrouter.com/upgrading/router-provider#2-install-the-vite-plugin describes how to adopt the new React Router framework, coming ... More on github.com
Fix next.js turbopack build with react compiler (cannot find module ...)
React Compiler just reached v1.0 ... the same plugins, namely React Compiler. Thus I am requesting support both with bun build CLI and Bun.build JS API. This is perhaps best suited as a Bun plugin, but as far as I can tell, Bun doesn't support babel plugins so I'm not sure what ... More on github.com
"@babel/plugin-proposal-private-property-in-object" causes pipeline to fail?
Greetings, Try the code below: npm-install —save-dev @babel/plugin-transform-private-property-in-object use ‘—save-dev’ to install under your Dependencies. I hope this helps. More on reddit.com
Videos
How to speed up your react-router apps with react-compiler
05:27
React Compiler / React Forget - with Vite - YouTube
09:46
React Compiler 1.0 with TanStack Start! - YouTube
Babel Installation • React JS Programming • React JavaScript ...
16:54
This React Compiler is the GOAT! - YouTube
Install React 19 + React Compiler in Vite – Setup & Config Guide ...
Reddit
reddit.com › r/react › do you still need "babel-plugin-react-compiler" if you're using react 19.1
r/react on Reddit: Do you still need "babel-plugin-react-compiler" if you're using React 19.1
June 15, 2025 -
Is it built into React 19, or is the new react compiler exclusively available with this Babel plugin?
Sorry if this is a basic question, I'm just a bit confused, while reading the docs.
The docs say:
The compiler is currently released as
rc, and is available to try out on React 17+ apps and libraries. To install the RC:
But I'm not sure if this means that React 19+ apps also need the RC.
Thanks
Top answer 1 of 2
3
Yes, the React Compiler is a babel plugin. But a SWC plugin is in progress. EDIT: In your bundler, you can both use SWC and Babel. Babel will work before SWC. But since the swc plugin is being developed, I would recommend to wait for the SWC plugin
2 of 2
2
The compiler can't be built-in in React 19 because it's a compiler. So it means you can only make use of it as a step in a build pipeline (vite, webpack, rspack, etc...). The goal is to transform your code ahead of time before running it But in a near future it might be included and enable by default in every tooling that power React, so you won't have add it yourself. Same as jsx for example, JSX transformation is also a build step but it's included by default in the vite plugin, your webpack config, your Next.JS project, etc... Also this sentence: "The compiler is currently released as rc, and is available to try out on React 17+ apps and libraries. To install the RC" RC equals "Release candidate" it means that it's near to reach a stable release, a stable version and labeled at production ready for most of apps and use cases React 19 includes what your app need to run transformed code by the compiler Prior React 19 you need to install an additional package that what they refer to here : "If you are not using React 19 yet, please see the section below for further instructions."
Expo Documentation
docs.expo.dev › development process › reference › react compiler
React Compiler - Expo Documentation
November 3, 2025 - Check how compatible your project is with the React Compiler. ... This will generally verify if your app is following the rules of React. ... Babel is automatically configured in Expo SDK 54 and later. ... In the future, all of the following steps below will be automated by Expo CLI. Additionally, you should use the ESLint plugin to continuously enforce the rules of React in your project.
Medium
jherr2020.medium.com › react-compiler-with-react-18-1e39f60ae71a
React Compiler With React 18
May 22, 2024 - The would be the optimal result of using the compiler. What we should expect to see, if we do our jobs right is that when you click on the button the console.log from the Header will not put up a message because the Header function is not getting called. ... Then we need to configure babel plugin in the Vite config. Mine ended up looking like this: import { defineConfig } from "vite"; import react from "@vitejs/plugin-react"; import path from "path"; const ReactCompilerConfig = { runtimeModule: "@/mycache", }; export default defineConfig({ resolve: { alias: { "@": path.resolve(__dirname, "./src"), }, }, plugins: [ react({ babel: { plugins: [["babel-plugin-react-compiler", ReactCompilerConfig]], }, }), ], });
GitHub
github.com › facebook › react › blob › main › compiler › packages › babel-plugin-react-compiler › src › Entrypoint › Options.ts
react/compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts at main · facebook/react
* React ESLint rules, since this is a strong indication that the code may be breaking React rules ... * Ignore 'use no forget' annotations. Helpful during testing but should not be used in production.
Author facebook
GitHub
github.com › remix-run › react-router › issues › 12352
Errors when running with Babel-based React Compiler · Issue #12352 · remix-run/react-router
November 22, 2024 - Specifically, I have the need to add babel plugins both for React compiler: https://react.dev/learn/react-compiler#usage-with-vite and Lingui: https://lingui.dev/tutorials/setup-vite.
Author jgarplind
Modernjs
modernjs.dev › guides › advanced-features › page-performance › react-compiler
React Compiler - Modern.js
import { appTools, defineConfig } from '@modern-js/app-tools'; import { pluginBabel } from '@rsbuild/plugin-babel'; export default defineConfig({ builderPlugins: [ pluginBabel({ babelLoaderOptions: (config, { addPlugins }) => { addPlugins([ [ 'babel-plugin-react-compiler', { target: '18', // 或 '17',根据你使用的 React 版本 }, ], ]); }, }); ]; plugins: [appTools()], }); For detailed code, you can refer to the Modern.js & React Compiler example project ·
Babel
babeljs.io
Babel
Use next generation JavaScript, today.Babel 8 Beta is out! Go check our blog post for more details!Put in next-gen JavaScriptGet browser-compatible JavaScript out · Learn more about Babel with our getting started guide or check out some videos on the people and concepts behind it
Babel
babeljs.io › presets › @babel/preset-react › transform-react-jsx
@babel/plugin-transform-react-jsx · Babel
If you are developing a React app in a development environment, please use @babel/plugin-transform-react-jsx-development for a better debugging experience. Automatic runtime is a feature added in v7.9.0. With this runtime enabled, the functions that JSX compiles to will be imported automatically.
React
react.dev › reference › react-compiler › compiling-libraries
Compiling Libraries – React
Configure your build tool to compile your library. For example, with Babel:
GitHub
github.com › oven-sh › bun › issues › 23554
Fix next.js turbopack build with react compiler (cannot find module ...) · Issue #23554 · oven-sh/bun
October 12, 2025 - React Compiler just reached v1.0 (https://react.dev/blog/2025/10/07/react-compiler-1). If Bun aims to replace Vite et al, it would be nice if it supported most of the same plugins, namely React Compiler. Thus I am requesting support both with bun build CLI and Bun.build JS API. This is perhaps best suited as a Bun plugin, but as far as I can tell, Bun doesn't support babel plugins so I'm not sure what the solution is.
Author mnpenner
Babel
babeljs.io › what is babel?
What is Babel? · Babel
For an awesome tutorial on compilers, check out the-super-tiny-compiler, which also explains how Babel itself works on a high level. Babel has support for the latest version of JavaScript through syntax transformers. These plugins allow you to use new syntax, right now without waiting for browser support. Check out our usage guide to get started. Babel can convert JSX syntax! Check out our React preset to get started.
jsDelivr
jsdelivr.com › package › npm › babel-plugin-react-compiler
babel-plugin-react-compiler CDN by jsDelivr - A CDN for npm and GitHub
December 18, 2025 - A free, fast, and reliable CDN for babel-plugin-react-compiler. Babel plugin for React Compiler.
Published Mar 20, 2024
Repository https://github.com/facebook/react
UNPKG
app.unpkg.com › babel-plugin-react-compiler@19.0.0-beta-30d8a17-20250209
babel-plugin-react-compiler
Babel plugin for React Compiler.