I have a built a small React application with create-react-app, and it runs fine from the local server after running npm start. OK so far.
npm start
open index.html file. scroll near end and you will see