
Deployment | Create React App
See this blog post on how to deploy your React app to Amazon Web Services S3 and CloudFront. If you are looking to add a custom domain, HTTPS and continuous deployment see this blog …
Getting Started | Create React App
You can now optionally start a new app from a template by appending --template [template-name] to the creation command. If you don't select a template, we'll create your project with our base …
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 …
Proxying API Requests in Development | Create React App
If you restart the development server now and load the app from the specified host, it should work. If you are still having issues or if you’re using a more exotic environment like a cloud editor, …
Creating a Production Build | Create React App
This is a small chunk of webpack runtime logic which is used to load and run your application. The contents of this will be embedded in your build/index.html file by default to save an additional …
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
Create React App uses Jest as its test runner. To prepare for this integration, we did a major revamp of Jest so if you heard bad things about it years ago, give it another try. Jest is a Node …
Adding a Router | Create React App
For more info on adding routes, check out the React Router docs on adding routes. Note that you may need to configure your production server to support client-side routing before deploying …
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 …
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 …