I have installed React using create-react-app. It installed fine, but I am trying to load an image in one of my components (Header.js, file path: <
create-react-app
Header.js
If you want load image with a local relative URL as you are doing. React project has a default public folder. You should put your images folder inside. It will work.
local relative URL
public
images