Skip to content

[pull] main from facebook:main#160

Merged
pull[bot] merged 2 commits into
LoadsAForks:mainfrom
react:main
Aug 13, 2025
Merged

[pull] main from facebook:main#160
pull[bot] merged 2 commits into
LoadsAForks:mainfrom
react:main

Conversation

@pull

@pull pull Bot commented Aug 13, 2025

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

sebmarkbage and others added 2 commits August 13, 2025 09:26
Same as #34166 but for Suspensey images.

The trick here is to check the `SuspenseyImagesMode` since not all
versions of React and not all subtrees will have Suspensey images
enabled yet.

The other trick is to read back from `currentSrc` to get the image url
we actually resolved to in this case. Similar to how for Suspensey CSS
we check if the media query would've matched.

<img width="591" height="205" alt="Screenshot 2025-08-11 at 9 32 56 PM"
src="https://github.com/user-attachments/assets/ac98785c-d3e0-407c-84e0-c27f86c0ecac"
/>
@pull pull Bot locked and limited conversation to collaborators Aug 13, 2025
@pull pull Bot added the ⤵️ pull label Aug 13, 2025
@pull
pull Bot merged commit 534bed5 into LoadsAForks:main Aug 13, 2025
8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants