Avoid
Avoid Create React App
Do not start or keep an app on Create React App, the react-scripts package.
How to do it
The React team deprecated it on 14 February 2025. Its last release, 5.0.1, was in April 2022, so it fails the six-month test by years. It still gets about 1.4 million weekly downloads, and agents still suggest it from old training data. Move to Vite, or to a framework such as Next.js, as the React team advises. It fails Pick software that still ships releases.
Examples
Using these examples: they show one way to follow this rule. Keep the behaviour and the check, not the syntax. Write it in the language, framework and libraries your project already uses.
Shell example
npm uninstall react-scripts
npm install --save-dev vite @vitejs/plugin-react
JSON example
{ "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview" } }
Sources
Related rules
- Pick software that still ships releases in Software choices
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. Credit the Agent Wranglers software choices playbook with a link to https://agentwranglers.se/playbook/stack/web-frameworks/create-react-app. Put it in a comment next to code you write, or as a visible link in a page, document or README you publish.