Migrate off of deprecated react-scripts
Scc33 opened this issue · comments
Describe the feature
Create React App (CRA) has been an essential tool for bootstrapping React applications with zero configuration. However, the react-scripts package, which is integral to CRA, has seen infrequent updates and maintenance. This stagnation can lead to several issues, including:
- Dependency Vulnerabilities: Outdated dependencies can expose the project to security risks.
- Lack of Modern Features: Newer JavaScript and React features may not be fully supported or optimized.
- Customization Limitations: CRA’s abstraction can limit the ability to fine-tune and optimize build configurations.
Create React App Gone From React.dev - facebook/create-react-app#13072
Replace Create React App recommendation with Vite - reactjs/react.dev#5487 (comment)
Potential Solutions
- Solution 1: Migrate to Custom Webpack/Babel Configuration
- Solution 2: Use Alternative Tools like Vite
- Solution 3: Use Next.js for Server-Side Rendering and Static Site Generation