Create React App (CRA)
Deprecated
Do not use for new projects. Use Vite instead.
What is it
Create React App (CRA) was an officially-supported CLI tool by Meta for bootstrapping React projects with a pre-configured webpack setup, including Babel, ESLint, and dev server.
Why it's deprecated
- Officially deprecated by the React team — React's website now says "Create React App has been deprecated" (Feb 2025 blog post).
- Unmaintained since ~2022 — last meaningful commit Sep 2022; 1,500+ open issues.
- Uses webpack under the hood — inherits all of webpack's performance problems.
- No modern React features — doesn't support React Server Components, streaming, or React 18+ architecture.
- React docs now recommend Vite — the official "Creating a React App" page recommends Vite, Next.js, or React Router v7.
Recommended replacement
Vite for SPAs; Next.js or React Router v7 for full-stack React.
Migration path
- Create a new Vite project:
npm create vite@latest my-app -- --template react-ts - Copy
src/files over; adjust entry point (main.tsxinstead ofindex.js) - Move
public/index.htmlto rootindex.htmland add<script type="module" src="/src/main.tsx"></script> - Replace
REACT_APP_*env vars withVITE_*prefixed ones - Replace
react-scriptsnpm scripts withvite,vite build,vite preview - Remove
react-scriptsfrom dependencies - Migrate Jest tests to Vitest — the API surface is similar, but expect manual work around jsdom setup, module transforms, mocks, and React Testing Library configuration