Sunday, August 16, 2020

REACT DOWNLOADS/INSTALLATION

Installation:

  • Install VS Code i.e. Visual Studio Code
  • Install Node.js and NPM
  • Install REACT from terminal i.e. md prompt
    1. npm install -g create-react-app
    2. create-react-app --version
    3. create-react-app <projetname>
      • npm start: to start the development server
      • npm run build: bundles the app into static files for production
      • npm test: start the test runner
      • npm run eject: removes this tool and copies build dependencies, configuration files
NOTE: Server runs on localhost, port :3000
vscode
Visual Studio Code

Visual Studio Code is a code editor redefined and optimized for building and debugging modern web and cloud applications.Visual Studio Code is a free source-code editor made by Microsoft for Windows, Linux and macOS.

No comments:

Post a Comment

TODO PROJECT IN REACT JS USING ARRAY HOOK, COMPONENT AND SPREAD OPERATOR

 App.jsx import   React , {  useState  }  from   "react" ; import   TodoList   from   "./TodoList" ; const   App  = ()  ...