dillon1000/react

Commit

[Flight] Sort Server Components Track Group ahead of Client Scheduler/Components Tracks (#31736)

Stacked on #31735.

This ensures that Server Components Track comes first. Since it's
typically rendered first on the server for initial load and then flows
into scheduler and client components work. Also puts it closer to the
Network and further away from "Main" JS.

<img width="769" alt="Screenshot 2024-12-11 at 5 31 41 PM"
src="https://github.com/user-attachments/assets/7198db0f-075e-4a78-8ea4-3bfbf06727cb"
/>

Same trick as in #31615.
Browse files
Changed paths3 files
First-parent comparison
M packages/react-client/src/ReactFlightClient.js ModifiedM packages/react-client/src/ReactFlightPerformanceTrack.js ModifiedM packages/react-reconciler/src/ReactFiberPerformanceTrack.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…