I am using an Image component to display a profile picture but no matter what I do to the image component it will not reload the image. I have to use the same url for the profile pictures so I tried to give the Image a unique key prop to try and get it to reload the image but it still just uses the image from cache. I have changed the image on the server countless times but the Image component only shows the original image it got for the url.
It would be great if there was a prop to pass into Image that forces it to refresh the image every time it is rendered.
In a perfect world it would display the image from cache while fetching the new image, compare the two then decide if the image has changed.
- React Native version: 0.41.0
- Platform: Both
I am using an Image component to display a profile picture but no matter what I do to the image component it will not reload the image. I have to use the same url for the profile pictures so I tried to give the Image a unique key prop to try and get it to reload the image but it still just uses the image from cache. I have changed the image on the server countless times but the Image component only shows the original image it got for the url.
It would be great if there was a prop to pass into Image that forces it to refresh the image every time it is rendered.
In a perfect world it would display the image from cache while fetching the new image, compare the two then decide if the image has changed.