loktar00 / react-lazy-load

React component that renders children elements when they enter the viewport.
MIT License
979 stars 166 forks source link

How to cache #133

Closed zhangzhaohui1 closed 2 years ago

zhangzhaohui1 commented 5 years ago
label recreates the child node each time, even if the url of the image has been previously obtained
andrixb commented 5 years ago

I've sorted this out by activating the browser default caching

loktar00 commented 2 years ago

Closing as I don't think this is an issue anymore, once the element loads the observer is removed so there's nothing to make it change/update after.