Im new in ReactJS and I want to import images in a component. These images are inside of the public folder and I do not know how to access the folder from the react componen
To reference images in public there are two ways I know how to do it straight forward. One is like above from Homam Bahrani.
using
And since this works you really don't need anything else but, this also works...