In react-native one can do:
const somePath = 'https://...'
<Image source={somePath} />
or
const somePath = 'https://...'
<Image source={{uri: somePath}} />
From what I understand about web addresses is that URIs are a superset of URLs and URNs.
Questions
- What are the potential problems associated with supplying a web address to
source
as a URL? What are the potential problems associated with supplying a web address to
source
as a URI?Which method of supplying an address of an image to
source
is more accurate, safer, and future proof?