React Docs - v2.2.0
Installation
Make sure that Node.js is installed and operational on your computer. If Node.js is already set up with version 20 or higher, you can proceed without repeating this step.

1. Download the Package

2. Unzip the Package

  • Extract the contents of the downloaded .zip file to a directory on your computer.

3. Install Node Modules

  • Open your terminal or command prompt and navigate to the directory where you unzipped the package.
  • Execute:
    npm install or yarn install

4. Start in Development Mode

  • Command: To start the project in development mode, run:
    npm start or yarn start

    This command generates a static version of your site in the public directory. The build process includes optimizing images, generating static HTML files, and bundling JavaScript and CSS files.

5. Create a Production Build

  • Command: In the same directory, run:
    npm run build or yarn build

    This command will create a production-ready build of your project in a distribution directory.