Commit 54e86bd
authored
[Flight] Color and badge non-primary environments (facebook#31738)
Stacked on facebook#31737.
<img width="987" alt="Screenshot 2024-12-11 at 8 41 15 PM"
src="https://github.com/user-attachments/assets/438379a9-0138-4d02-a53a-419402839558"
/>
When mixing environments (like "use cache" or third party RSC) it's
useful to color and badge those components differently to differentiate.
I'm not putting them in separate tracks because when they do actually
execute, like cache misses or third party RSCs, they behave like they're
part of the same tree.1 parent bdf1871 commit 54e86bd
File tree
2 files changed
+27
-6
lines changed- packages/react-client/src
2 files changed
+27
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | | - | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
653 | 659 | | |
654 | 660 | | |
655 | 661 | | |
| |||
2748 | 2754 | | |
2749 | 2755 | | |
2750 | 2756 | | |
| 2757 | + | |
2751 | 2758 | | |
2752 | 2759 | | |
2753 | 2760 | | |
| |||
2838 | 2845 | | |
2839 | 2846 | | |
2840 | 2847 | | |
| 2848 | + | |
2841 | 2849 | | |
2842 | 2850 | | |
2843 | 2851 | | |
| |||
2876 | 2884 | | |
2877 | 2885 | | |
2878 | 2886 | | |
| 2887 | + | |
2879 | 2888 | | |
2880 | 2889 | | |
2881 | 2890 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
77 | 79 | | |
| 80 | + | |
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
81 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
84 | 91 | | |
85 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
89 | 98 | | |
90 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
91 | 102 | | |
92 | 103 | | |
93 | 104 | | |
| |||
103 | 114 | | |
104 | 115 | | |
105 | 116 | | |
106 | | - | |
| 117 | + | |
| 118 | + | |
107 | 119 | | |
108 | 120 | | |
0 commit comments