princeton-nlp / SWE-agent

SWE-agent takes a GitHub issue and tries to automatically fix it, using GPT-4, or your LM of choice. It solves 12.47% of bugs in the SWE-bench evaluation set and takes just 1 minute to run.

Home Page:https://princeton-nlp.github.io/SWE-agent/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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