react why is public path components folder code example Example: react src images from public folder <img src={process.env.PUBLIC_URL + '/yourPathHere.jpg'} />