react/packages/react-noop-renderer
Sebastian Markbåge 6eb5d67e9c
[Fizz] Outline a Suspense Boundary if it has Suspensey CSS or Images (#34552)
We should favor outlining a boundary if it contains Suspensey CSS or
Suspensey Images since then we can load that content separately and not
block the main content. This also allows us to animate the reveal.

For example this should be able to animate the reveal even though the
actual HTML content isn't large in this case it's worth outlining so
that the JS runtime can choose to animate this reveal.

```js
<ViewTransition>
  <Suspense>
    <img src="..." />
  </Suspense>
</ViewTransition>
```

For Suspensey Images, in Fizz, we currently only implement the suspensey
semantics when a View Transition is running. Therefore the outlining
only applies if it appears inside a Suspense boundary which might
animate. Otherwise there's no point in outlining. It is also only if the
Suspense boundary itself might animate its appear and not just any
ViewTransition. So the effect is very conservative.

For CSS it applies even without ViewTransition though, since it can help
unblock the main content faster.
2025-09-25 09:38:41 -04:00
..
npm Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
src [Fizz] Outline a Suspense Boundary if it has Suspensey CSS or Images (#34552) 2025-09-25 09:38:41 -04:00
flight-client.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
flight-modules.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
flight-server.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
index.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
package.json Remove object-assign polyfill (#23351) 2022-02-23 19:34:24 -05:00
persistent.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
README.md Add Fiber Debugger (#8033) 2016-10-25 08:36:37 +01:00
server.js [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00

react-noop-renderer

This package is the renderer we use for debugging Fiber. It is not intended to be used directly.