Skip to content

Successor Map · Build tools and bundlers

Create React App to Vite: deprecated, and a predictable move

The React team deprecated Create React App for new apps in February 2025 and left it in maintenance mode. Teams that want to keep a plain single-page app mostly move the build to Vite.

Slide: Create React App on the left, an arrow, and Vite on the right.
Status of the old tool
Deprecated
Effort to move
Mechanical
gen2.dev's view
Move when convenient
Sources checked
2026-11-28

Key facts

Gen 1Create React App (released 2016)
Gen 2Vite with its React plugin; the React team also names Parcel, Rsbuild and full frameworks
Kind of toolBuild tools and bundlers
Status of Gen 1Deprecated The React team's post 'Sunsetting Create React App' of February 14, 2025 deprecated it for new apps and said it has no active maintainers.
Effort to moveMechanical: same ideas, different calls
What breaksEnvironment variables change name and are read a different way, index.html moves, and files that contain JSX need a .jsx or .tsx extension.
Should you move?Move when convenient The React team says it keeps working in maintenance mode, but it has no active maintainers, so the gap only grows. This is gen2.dev's view, not the maintainers'.
Sources checked2026-11-28, 4 sources

Gen 1 and Gen 2 side by side

npm registry Gen 1 Gen 2
Packagereact-scriptsvite
Latest version5.0.18.4.0
Latest releaseApr 12, 2022Nov 26, 2026
First releaseJul 18, 2016Apr 21, 2020
LicenseMITMIT
Downloads, last week2,682,591268,027,757

Read from each package registry on November 29, 2026. Downloads include automated installs such as build servers, so compare them as a trend, not a head count.

What Gen 1 was

Create React App was the React team's answer to a setup problem. In their words, "When we released Create React App in 2016, there was no clear way to build a new React app." One command produced a working project with the build, the dev server and the test runner hidden behind a single package, react-scripts.

The project's own README now describes it as one of the key tools for starting a React project in 2017 through 2021, and says it is in "long-term stasis."

What replaced it

On February 14, 2025 the React team wrote: "Today, we're deprecating Create React App for new apps, and encouraging existing apps to migrate to a framework, or to migrate to a build tool like Vite, Parcel, or RSBuild." The reason given is direct: "Create React App currently has no active maintainers."

It was not switched off. The same post says it "will continue working in maintenance mode" and that a new version was published to work with React 19.

For a team that wants to keep the app it has, without adopting a framework, Vite is the usual destination, and the React post links to a Vite migration guide.

What moving involves

The guide the React team links to is a short list, and none of it touches application logic:

  • Install vite and @vitejs/plugin-react, and uninstall react-scripts.
  • Point the start and build scripts at Vite.
  • Add a vite.config.js. Setting the output directory to build keeps the folder name Create React App used.
  • Move the HTML entry page out of the public folder to the project root and add a module script tag that loads the entry file.
  • Replace each %PUBLIC_URL% reference in that file with an absolute path.

This is a build swap, so it ships as one change. Treat it like any other cutover: compare the old and new build output before the old scripts are deleted.

What breaks

Three things account for most of the trouble.

  • File extensions. The guide notes that "Vite is explicit with file extensions." Files that contain JSX must be renamed to .jsx or .tsx.
  • Environment variables. Variables with the REACT_APP prefix must be renamed to the VITE prefix, and code that reads process.env must read import.meta.env instead. Vite exposes only the prefixed variables.
  • Tests. The test setup came with react-scripts and leaves with it. The guide treats testing as a separate follow-up, so plan it as its own piece of work.

Should you move?

Move when it is convenient. Create React App still works and its maintainers have not announced an end date, so nothing forces the change this week. It also has no active maintainers, which means each new release of React or Node is a chance for it to fall behind.

The exception is an app that is itself close to retirement. A build tool in stasis is a reasonable match for a product in stasis.

Common questions

Is Create React App dead?

It is deprecated. The React team's post 'Sunsetting Create React App' of February 14, 2025 deprecated it for new apps and said it has no active maintainers.

What replaced Create React App?

Vite with its React plugin; the React team also names Parcel, Rsbuild and full frameworks. Effort to move: Mechanical: same ideas, different calls

Should I move off Create React App?

gen2.dev's view: Move when convenient. The React team says it keeps working in maintenance mode, but it has no active maintainers, so the gap only grows.

Sources

  1. Sunsetting Create React App - React blog (February 14, 2025) - Deprecates Create React App for new apps, says it has no active maintainers and continues in maintenance mode, and lists migration guides for Vite, Parcel and Rsbuild.
  2. facebook/create-react-app README - GitHub - Describes the project as in long-term stasis and does not recommend starting production apps with it.
  3. Migrate to Vite from Create React App (CRA) - Robin Wieruch (March 29, 2023) - The Vite migration guide the React post links to; lists the package, script, file and environment variable changes.
  4. Env Variables and Modes - Vite documentation - States that Vite exposes env variables on import.meta.env and only those with the VITE_ prefix.
  5. react-scripts - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026
  6. vite - npm - latest version, release dates, license and last week's downloads, read on November 29, 2026

Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.