React Under the Hood

If you are a curious lot like me and wondering how the index.js file in src folder of a React project communicates with the html file in public folder, here is an interesting answer I found on stackoverflow.