So here is my code:
<img src={currentQuestion?.GIF_URL} key={`${GIF_URL}-${currentIndex}`} alt='gif' style={{margin: '0 auto'}} />
As you can see I've added in a key to tell React to trigger a re-render and this has worked with my audio files but is not working with my gif url to my appwrite storage bucket.
I've tried adding in a key to trigger a re-render and I was expecting it to update and re-render just my this component:
<audio key={audio_URL} controls autoPlay>
<source src={audio_URL} type="audio/mp3" />
</audio>