I don't understand REACT

Hello! I am a beginner in the world of frontend development. I have learnt html, css and javascript. I am about learning a javascript library (REACT) in which my problem lies; I really do not understand how to use it

  • After creating a new react app successfully, then I tried to edit the html code and then try refresh my browser I get an error that it is unable to connect.
  • After saving a new app created, going back to the app later, I am not able to launch the app into the browser like it was when I first created it (localhost:3000)

I would like you guys to help me because I have not been able to pass through this beginner stage. Is there something I am doing wrong? Also, can someone recommend a good react ebook for me to check out.

Assuming you are creating your app with create-react-app, this shouldn’t be a problem, unless you are not running the npm run start command in the root of your project.

I recommend watching this video https://www.youtube.com/watch?v=Ke90Tje7VS0

I was in the same position as you when I was a newbie trying to learn React, after taking the above tutorial everything changed.