SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

244272 0 0 JavaScript

[Fiber] use srcset to trigger load even on img mount (#30351)

In https://github.com/facebook/react/pull/23316 we fixed a bug where
onload events were missed if they happened too early. This update adds
support for srcset to retrigger the load event. Firefox unfortunately
does not trigger a load even when you assign srcset so this won't work
in every browser when you use srcset without src however it does close a
gap in chrome at least
J
Josh Story committed
7f217d1d88d3b628d97a714ce1573526080af47d
Parent: 27d5dba
Committed by GitHub <[email protected]> on 7/25/2024, 10:46:45 PM