About 43 results
Open links in new tab
  1. 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 …

  2. 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 …

  3. Deployment | Create React App

    Since Create React App is completely platform-agnostic, there’s no need to explicitly use Node. The build folder with static assets is the only output produced by Create React App.

  4. Available Scripts | Create React App

    npm run build Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and …

  5. 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 …

  6. Updating to New Releases | Create React App

    Create React App creates the project with the latest version of react-scripts so you’ll get all the new features and improvements in newly created apps automatically.

  7. Custom Templates | Create React App

    Note: this feature is available with [email protected] and higher. Custom Templates enable you to select a template to create your project from, while still retaining all of the features of Create …

  8. 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 …

  9. 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, …

  10. Using HTTPS in Development | Create React App

    To avoid having to set the environment variable each time, you can either include in the npm start script like so: