Closed kolya182 closed 6 years ago
Yeah this is an issue that has come up with the new version of create-react-app requiring everything to be inside the src/
dir. The correct way to fix is to move it into the src/
folder and change all references to that folder to point to the new location. I will update the tutorial soon! Thanks for pointing this out!
Hello, I'm new to react, and I was following a tutorial and got this compile error. As a solution, i moved data.js folder inside src folder. Is this is the right way of fixing the problem? Please advise.