GoLand 2022.2 Help

React

React is a JavaScript library for building user interfaces. For more information about React, see documentation at reactjs.org.

Before you create a React App project, install the Node.js interpreter. You can download the Node.js interpreter from the official site.

  1. Select File | New | Project.

  2. In the New Project dialog, click React.

  3. In the Location field, specify the path to your project. Ensure that the project name does not include capital letters (a restriction for npm packages, read more at https://www.npmjs.com).

  4. From the Node interpreter list, select the node interpreter or specify a path to the Node.js location.

  5. Click Create.

    Optionally:

    To use TSX instead of JSX, select the Create TypeScript project checkbox. GoLand will generate .tsx files for your application and a tsconfig.json configuration file.

    Create a React app project
Last modified: 22 November 2021