
Getting Started | Create React App
Getting Started Create React App is an officially supported way to create single-page React applications. It offers a modern build setup with no configuration. Quick Start npx create-react …
Proxying API Requests in Development | Create React App
People often serve the front-end React app from the same host and port as their backend implementation. For example, a production setup might look like this after the app is deployed:
Adding Custom Environment Variables | Create React App
Since Create React App produces a static HTML/CSS/JS bundle, it can’t possibly read them at runtime. To read them at runtime, you would need to load HTML into memory on the server …
Running Tests | Create React App
If your app uses a browser API that you need to mock in your tests or if you need a global setup before running your tests, add a src/setupTests.js to your project.
Adding TypeScript | Create React App
If you are currently using create-react-app-typescript, see this blog post for instructions on how to migrate to Create React App. Constant enums and namespaces are not supported, you can …
Setting Up Your Editor | Create React App
This enables you as a developer to write and debug your React code without leaving the editor, and most importantly it enables you to have a continuous development workflow, where …
Using HTTPS in Development | Create React App
Using HTTPS in Development Note: this feature is available with [email protected] and higher. You may require the dev server to serve pages over HTTPS. One particular case where this …
Deployment | Create React App
To deploy your React project with a Vercel for Git Integration, make sure it has been pushed to a Git repository. Import the project into Vercel using the Import Flow.
Adding Bootstrap | Create React App
React Bootstrap is the most popular option that strives for complete parity with Bootstrap. reactstrap is also a good choice for projects looking for smaller builds at the expense of some …
Making a Progressive Web App | Create React App
After running the build script, create-react-app will give instructions for one way to test your production build locally and the deployment instructions have instructions for using other …