About 44 results
Open links in new tab
  1. Getting Started | Create React App

    You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects. To create a new app, you may choose one of the following methods:

  2. Using HTTPS in Development | Create React App

    One particular case where this could be useful is when using the "proxy" feature to proxy requests to an API server when that API server is itself serving HTTPS. To do this, set the HTTPS environment …

  3. 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.

  4. Deployment | Create React App

    You don’t necessarily need a static server in order to run a Create React App project in production. It also works well when integrated into an existing server side app.

  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 and replace …

  6. 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 learn …

  7. 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-based runner. …

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

  9. Available Scripts | Create React App

    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 the filenames include the …

  10. Advanced Configuration | Create React App

    Advanced Configuration You can adjust various development and production settings by setting environment variables in your shell or with .env. Note: You do not need to declare REACT_APP_ …