We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b0bec5 commit c672e56Copy full SHA for c672e56
source/components/StyledImage/index.js
@@ -71,6 +71,7 @@ const StyledImage = ({ src, srcSet, disableLazy, alt, className, ...rest }) => {
71
}, [src]);
72
// this is odd but it allows us to quickly flush the src when an image src is swapped but react is able to use
73
// the same DOM element. The other option would be to use keys but then react can't be as efficient.
74
+ // todo maybe wrap in a timeout to make sure it doesn't get batched
75
setIsLimbo(false);
76
77
// Show low resolution image
0 commit comments