how to create first React Web application

Image from unplash

How to Create first React Web application

  1. First you have to install node ,installation process is too easy
  2. confirm node has been installed in your machine or not to check it you have to hit ( node -v) in you terminal or cmd that ‘ll print some thing 18.10 (current version ) something like it can be different as per timing coz it updates time to time
  3. after installation of node now you have to install ( node package executes ) with is command npx i -g create-react-app here -g stand for global installation that mean we ‘ll not need to stall it again and gain if we change the directory to create react application with help we ‘ll be able to create react application
  4. In this step you have hit a bigger combinational command in you cmd or terminal npx create-react-app myapp && cd myapp && npm start here myapp is your given react application name (in only small case without any whitespace )

or anther option to do this 4th step is that you would be hit npx create-react-app myapp then after after completion of this command you ‘ll see happy hacking ðŸ˜‚ now you ‘ve to inter in your created react application folder so here my react application folder name is myapp ( cd myapp )

again here you ‘ve to hit (npm start) after some time ( 10 to 20 second depend on your system configuration ) it ‘ll run in http://localhost:3000 in you system

Popular posts from this blog

LET Understand Regular expression in JS

DATA TYPES IN PYTHON