Salesforce provides CLI templates that can quickly scaffold a React application with a ready-to-run React/Vite setup. There are two approaches: Generate a complete SFDX project with an internal React app. Generate a React UI Bundle inside an existing SFDX project.
Source: [Dev.to](https://dev.to/exploring_agentforce/how-to-quickly-scaffold-and-deploy-a-react-app-on-salesforce-1cjj)