I\'m using create-react-app, and I am struggling to load images. I am following the instructions as specified here, but I keep seeing the following error:
create-react-app
As @archae0pteryx proposed it is much better to separate pictures from the code, so the project public folder should be used instead of src.
Here is how it works with css:
background-image: url('/img.bmp');