I am developing a react app. I am loading datas from a module like that
const results = [
{
'home': 'fbc',
'home_score': '74',
'visitor': 'jda',
'visitor_score': '69',
'home_logo': 'jda_logo.png'
}]
What I am trying to do is loading images from the data (home_logo). But I don't know how to use relative path with React. I wanted to see what is the path when I load a picture with
import jda from './img/jda_logo.png';
And I am surprised the path is static/media/jda_logo.e596d19c.png
Someone can explain to me what is the e596d19c that's been added ?
And is it possible from me to load images with relative path that I am loading from my data ?