React: show loading over prev image before it gets updated – Reactjs
I have an image that is reloaded every 1 min. Every time 1 min is completed, the new image is fetched. (I use the embedded link inside the src attribute of img), like <img src={link} />. The problem is while…