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
    
Published   Oct 07, 2025
Version   1.0.0
🌐
React
react.dev › learn › react-compiler › installation
Installation – React
The compiler needs the original source information for proper analysis, so it must process your code before other transformations. ... Please refer to the Next.js docs for more information. Install vite-plugin-babel, and add the compiler’s Babel plugin to it:
Discussions

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
🌐 r/react
10
6
June 15, 2025
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
🌐 github.com
45
November 22, 2024
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
🌐 github.com
18
October 12, 2025
"@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
🌐 r/reactjs
6
6
August 22, 2023
🌐
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

🌐
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
Find elsewhere
🌐
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
🌐
Nx
nx.dev › docs › technologies › react › guides › react-compiler
React Compiler with Nx | Nx
Section titled “Enabling React compiler in Nx projects” · For Nx projects using Babel and the @nx/react/babel preset, install the babel-plugin-react-compiler package and enable it with the reactCompiler option.
🌐
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 › configuration
Configuration – React
For most React 19 applications, the compiler works without configuration: // babel.config.js · module.exports = { plugins: [ 'babel-plugin-react-compiler' ] }; Older React versions need the runtime package and target configuration: npm install react-compiler-runtime@latest ·
🌐
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
🌐
React
react.dev › blog › 2025 › 10 › 07 › react-compiler-1
React Compiler v1.0 – React
April 21, 2025 - React Compiler is an optimizing compiler that optimizes components and hooks through automatic memoization. While it is implemented as a Babel plugin currently, the compiler is largely decoupled from Babel and lowers the Abstract Syntax Tree ...
🌐
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