Unverified Commit 1e9fe5f8 authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

Use stable React Compiler (#84660)

parent b394d533
...@@ -480,8 +480,7 @@ async function run(): Promise<void> { ...@@ -480,8 +480,7 @@ async function run(): Promise<void> {
onState: onPromptState, onState: onPromptState,
type: 'toggle', type: 'toggle',
name: 'reactCompiler', name: 'reactCompiler',
// TODO: Remove "Release Candidate" when React Compiler is stable message: `Would you like to use ${styledReactCompiler}?`,
message: `Would you like to use ${styledReactCompiler} (Release Candidate)?`,
initial: getPrefOrDefault('reactCompiler'), initial: getPrefOrDefault('reactCompiler'),
active: 'Yes', active: 'Yes',
inactive: 'No', inactive: 'No',
......
...@@ -247,8 +247,7 @@ export const installTemplate = async ({ ...@@ -247,8 +247,7 @@ export const installTemplate = async ({
} }
if (reactCompiler) { if (reactCompiler) {
// TODO: Use "^19" when React Compiler is stable packageJson.devDependencies["babel-plugin-react-compiler"] = "1.0.0";
packageJson.devDependencies["babel-plugin-react-compiler"] = "19.1.0-rc.3";
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment