react/packages
Sebastian Markbåge 0a5fb67ddf
[DevTools] Sort suspense timeline by end time instead of just document order (#35011)
Right now it's possible for things like server environments to appear
before other content in the timeline just because it's in a different
document order.

Ofc the order in production is not guaranteed but we can at least use
the timing information we have as a hint towards the actual order.

Unfortunately since the end time of the RSC stream itself is always
after the content that resolved to produce it, it becomes kind of
determined by the chunking. Similarly since for a clean refresh, the
scripts and styles will typically load after the server content they
appear later. Similarly SSR typically finishes after the RSC parts.
Therefore a hack here is that I artificially delay everything with a
non-null environment (RSC) so that RSC always comes after client-side
(Suspense). This is also consistent with how we color things that have
an environment even if children are just Suspense.

To ensure that we never show a child before a parent, in the timeline,
each child has a minimum time of its parent.
2025-10-29 15:05:04 -04:00
..
dom-event-testing-library Add jest lint rules (#29760) 2024-06-10 14:31:37 -04:00
eslint-plugin-react-hooks [eprh] Update changelog for 7.0.1 (#34964) 2025-10-23 13:43:16 -04:00
internal-test-utils Lower case "rsc stream" debug info (#34921) 2025-10-20 02:42:38 -04:00
jest-react Bump next prerelease version numbers (#31676) 2024-12-12 14:10:46 -05:00
react Resolve the .default export of a React.lazy as the canonical value (#34906) 2025-10-19 14:56:25 -04:00
react-art Bump next prerelease version numbers (#34674) 2025-10-02 00:31:55 +02:00
react-cache Clean up enableSiblingPrerendering flag (#32319) 2025-05-08 20:49:23 -04:00
react-client [Flight] Don't hang after resolving cyclic references (#34988) 2025-10-27 22:06:28 +01:00
react-debug-tools [Fiber][DevTools] Add scheduleRetry to DevTools Hook (#34635) 2025-09-28 13:51:35 -04:00
react-devtools React DevTools 7.0.0 -> 7.0.1 (#34926) 2025-10-20 18:39:28 +01:00
react-devtools-core React DevTools 7.0.0 -> 7.0.1 (#34926) 2025-10-20 18:39:28 +01:00
react-devtools-extensions React DevTools 7.0.0 -> 7.0.1 (#34926) 2025-10-20 18:39:28 +01:00
react-devtools-fusebox [DevTools] Don't inline workers for extensions (#34508) 2025-09-17 17:59:55 +02:00
react-devtools-inline React DevTools 7.0.0 -> 7.0.1 (#34926) 2025-10-20 18:39:28 +01:00
react-devtools-shared [DevTools] Sort suspense timeline by end time instead of just document order (#35011) 2025-10-29 15:05:04 -04:00
react-devtools-shell [DevTools] chore: add useSyncExternalStore examples to shell (#34932) 2025-10-21 13:51:44 +01:00
react-devtools-timeline React DevTools 7.0.0 -> 7.0.1 (#34926) 2025-10-20 18:39:28 +01:00
react-dom [react-dom] Include all Node.js APIs in Bun entrypoint for /server (#34193) 2025-10-27 23:06:45 +01:00
react-dom-bindings [Flight] Fix preload as attribute for stylesheets (#34760) 2025-10-10 21:40:56 +02:00
react-is Bump next prerelease version numbers (#34674) 2025-10-02 00:31:55 +02:00
react-markup [Flight] Allow passing DEV only startTime as an option (#34912) 2025-10-19 16:38:33 -04:00
react-native-renderer [rn] enabled disableLegacyMode everywhere (#34947) 2025-10-27 17:48:33 -04:00
react-noop-renderer [Fizz] Outline a Suspense Boundary if it has Suspensey CSS or Images (#34552) 2025-09-25 09:38:41 -04:00
react-reconciler [rn] delete the legacy renderers from the sync (#34946) 2025-10-27 17:38:56 -04:00
react-refresh Bump next prerelease version numbers (#34674) 2025-10-02 00:31:55 +02:00
react-server [Flight] Cache the value if we visit the same I/O or Promise multiple times along different paths (#35005) 2025-10-29 10:55:43 -04:00
react-server-dom-esm [Flight] Allow passing DEV only startTime as an option (#34912) 2025-10-19 16:38:33 -04:00
react-server-dom-fb Bump next prerelease version numbers (#34674) 2025-10-02 00:31:55 +02:00
react-server-dom-parcel [Flight] Allow passing DEV only startTime as an option (#34912) 2025-10-19 16:38:33 -04:00
react-server-dom-turbopack [Flight] Allow passing DEV only startTime as an option (#34912) 2025-10-19 16:38:33 -04:00
react-server-dom-webpack [Flight] Don't hang after resolving cyclic references (#34988) 2025-10-27 22:06:28 +01:00
react-suspense-test-utils Expose cacheSignal() alongside cache() (#33557) 2025-06-17 17:04:40 -04:00
react-test-renderer Bump next prerelease version numbers (#34674) 2025-10-02 00:31:55 +02:00
scheduler Bump next prerelease version numbers (#34674) 2025-10-02 00:31:55 +02:00
shared [tests] disableLegacyMode in test-renderer (#35002) 2025-10-28 12:53:30 -04:00
use-subscription Bump next prerelease version numbers (#34674) 2025-10-02 00:31:55 +02:00
use-sync-external-store Bump next prerelease version numbers (#34674) 2025-10-02 00:31:55 +02:00