Commit bdf1871
authored
[Flight] Emit Deduped Server Components Marker (facebook#31737)
Stacked on facebook#31736.
<img width="1223" alt="Screenshot 2024-12-11 at 8 21 12 PM"
src="https://github.com/user-attachments/assets/a7cbc04b-c831-476b-aa2f-baddec9461c9"
/>
This emits a placeholder when we're deduping a component. This starts
when the parent's self time ends, where we would've started rendering
this component if it wasn't already started. The end time is when the
actual render ends since the parent is also blocked by it.1 parent 07facb5 commit bdf1871
File tree
3 files changed
+60
-6
lines changed- fixtures/flight/src
- packages/react-client/src
3 files changed
+60
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
84 | | - | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
130 | 131 | | |
131 | 132 | | |
132 | 133 | | |
| 134 | + | |
133 | 135 | | |
134 | 136 | | |
135 | 137 | | |
| |||
647 | 649 | | |
648 | 650 | | |
649 | 651 | | |
650 | | - | |
| 652 | + | |
651 | 653 | | |
652 | 654 | | |
653 | 655 | | |
| |||
2748 | 2750 | | |
2749 | 2751 | | |
2750 | 2752 | | |
2751 | | - | |
| 2753 | + | |
| 2754 | + | |
2752 | 2755 | | |
2753 | 2756 | | |
2754 | 2757 | | |
| |||
2765 | 2768 | | |
2766 | 2769 | | |
2767 | 2770 | | |
| 2771 | + | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
| 2776 | + | |
| 2777 | + | |
| 2778 | + | |
| 2779 | + | |
| 2780 | + | |
| 2781 | + | |
| 2782 | + | |
| 2783 | + | |
| 2784 | + | |
| 2785 | + | |
| 2786 | + | |
2768 | 2787 | | |
2769 | 2788 | | |
2770 | 2789 | | |
| |||
2792 | 2811 | | |
2793 | 2812 | | |
2794 | 2813 | | |
2795 | | - | |
2796 | 2814 | | |
| 2815 | + | |
2797 | 2816 | | |
2798 | 2817 | | |
2799 | 2818 | | |
2800 | 2819 | | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
| 2827 | + | |
2801 | 2828 | | |
2802 | 2829 | | |
2803 | | - | |
| 2830 | + | |
| 2831 | + | |
| 2832 | + | |
| 2833 | + | |
| 2834 | + | |
2804 | 2835 | | |
2805 | 2836 | | |
2806 | 2837 | | |
| |||
2810 | 2841 | | |
2811 | 2842 | | |
2812 | 2843 | | |
| 2844 | + | |
2813 | 2845 | | |
| 2846 | + | |
| 2847 | + | |
| 2848 | + | |
2814 | 2849 | | |
2815 | 2850 | | |
2816 | 2851 | | |
| |||
2842 | 2877 | | |
2843 | 2878 | | |
2844 | 2879 | | |
| 2880 | + | |
| 2881 | + | |
2845 | 2882 | | |
2846 | 2883 | | |
2847 | 2884 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
0 commit comments