I am beginner learning React. I am having a problem when I delete all the boilerplate files except index.js in order to start from scratch.
I create my first “hello world” component and then start the dev server. The browser opens up and shows my component but when I change “hello world” to “hello people” the component displayed in browser is still “hello world” and I have to refresh the browser to show “hello people”.
There is no any error showing in console. The only thing that is in the console is
[HMR] Waiting for update signal from WDS...
I am a beginner and did a lot of searching on how to fix this but I couldn’t solve it. Please suggest something that may fix the problem.