I have started Learning React a few months ago then quitted. And today, I decided to come back to it so I did:
npm init
npm install
npm start
Everything went fine (No Errors) except that nothing is being rendered on the screen! So I tried logging something inside src/index.js... with nothing being logged to the console.
I also tried attaching the debugger after adding a breakpoint inside src/index.js and it never got there.
I am very new to React so it might be a stupid question but any help will be great.
Index.html:
<html>
<head>
...
</head>
<body>
<div id="root"></div>
</body>
</html>
and my src/index.js:
imports...
console.log("index.js");
ReactDOM.render(
<div>
<h1>Hellow World</h1>
</div>,
document.getElementById('root')
);
Update1
Here is my GitHub repo link, heads up; I simplified my code to make the question clear.