Dear All,
After learning HTML, CSS and JS; I’ve started learning React and I’ve got this very basic query for which I couldn’t answer
-
I could just 3 files in
VSCode namely index.html, style.css and index.js
, later loadindex.html
in browser to see the results -
Why can’t I do same thing with React Code ?
For writing simplest hello world program; I had to runnpx create-react-app helloworld
& do changes.
Later run command npm start -
If I do any code change, I need to stop and again run npm start
Questions:
-
Why do I need to run
npx create-react-app helloworld
-
How to see new changes without stopping and re-running npm start ?
Thanks,
Vikram