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> {
onState: onPromptState,
type: 'toggle',
name: 'reactCompiler',
// TODO: Remove "Release Candidate" when React Compiler is stable
message: `Would you like to use ${styledReactCompiler} (Release Candidate)?`,
message: `Would you like to use ${styledReactCompiler}?`,
initial: getPrefOrDefault('reactCompiler'),
active: 'Yes',
inactive: 'No',
......
......@@ -247,8 +247,7 @@ export const installTemplate = async ({
}
if (reactCompiler) {
// TODO: Use "^19" when React Compiler is stable
packageJson.devDependencies["babel-plugin-react-compiler"] = "19.1.0-rc.3";
packageJson.devDependencies["babel-plugin-react-compiler"] = "1.0.0";
}
/**
......
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