Closed
Description
React version: 18.3.0-canary-c29ca23af-20231205
Steps To Reproduce
- Render SSR app that has images in its tree using renderToString or renderToPipeableStream
Link to code example:
The current behavior
The expected behavior
To not insert preloads randomly.
Note that there is difference between renderToString and renderToPipeableStream, renderToString the preloads appear inside root and renderToPipeableStream they appear in head.
Sorry this is a bit of a question rather than bug report maybe, I have searched around and cannot see any mention of auto-preloading images but I assume there must be something going on that I have missed.
I was able to fix by using 18.3.0-canary-493f72b0a-20230727
.