存在React Image加载问题。 图像逐帧加载。 视频在下面。 https://streamable.com/s/h1xij/mdgbpf
答案 0 :(得分:0)
这是浏览器的正常行为。如果要在完全下载图像后显示该图像,则必须使用lazy loading
概念。
该库可能会帮助您https://www.npmjs.com/package/react-lazyload
演示:https://twobin.github.io/react-lazyload/examples/#/image?_k=vhbmrq