Commit 32baab3
authored
[Transition Tracing] Add Tag Field to Marker Instance (#25085)
We were previously using `markerInstance.name` to figure out whether the marker instance was on the tracing marker or the root, but this is unsustainable. This adds a tag field so we can explicitly check this.1 parent 8ef3a7c commit 32baab3Copy full SHA for 32baab3
8 files changed
+48-8Lines changed: 48 additions & 8 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- packages/react-reconciler/src
Expand file treeCollapse file tree
Open diff view settings
Collapse file
packages/react-reconciler/src/ReactFiber.new.js
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiber.new.js+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
98 | 98 | |
99 | 99 | |
100 | 100 | |
| 101 | + |
101 | 102 | |
102 | 103 | |
103 | 104 | |
| ||
770 | 771 | |
771 | 772 | |
772 | 773 | |
| 774 | + |
773 | 775 | |
774 | 776 | |
775 | 777 | |
|
Collapse file
packages/react-reconciler/src/ReactFiber.old.js
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiber.old.js+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
98 | 98 | |
99 | 99 | |
100 | 100 | |
| 101 | + |
101 | 102 | |
102 | 103 | |
103 | 104 | |
| ||
770 | 771 | |
771 | 772 | |
772 | 773 | |
| 774 | + |
773 | 775 | |
774 | 776 | |
775 | 777 | |
|
Collapse file
packages/react-reconciler/src/ReactFiberBeginWork.new.js
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberBeginWork.new.js+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
268 | 268 | |
269 | 269 | |
270 | 270 | |
| 271 | + |
271 | 272 | |
272 | 273 | |
273 | 274 | |
| ||
976 | 977 | |
977 | 978 | |
978 | 979 | |
| 980 | + |
979 | 981 | |
980 | 982 | |
981 | 983 | |
|
Collapse file
packages/react-reconciler/src/ReactFiberBeginWork.old.js
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberBeginWork.old.js+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
268 | 268 | |
269 | 269 | |
270 | 270 | |
| 271 | + |
271 | 272 | |
272 | 273 | |
273 | 274 | |
| ||
976 | 977 | |
977 | 978 | |
978 | 979 | |
| 980 | + |
979 | 981 | |
980 | 982 | |
981 | 983 | |
|
Collapse file
packages/react-reconciler/src/ReactFiberCommitWork.new.js
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberCommitWork.new.js+14-4Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
177 | 177 | |
178 | 178 | |
179 | 179 | |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
180 | 184 | |
181 | 185 | |
182 | 186 | |
| ||
1184 | 1188 | |
1185 | 1189 | |
1186 | 1190 | |
1187 | | - |
| 1191 | + |
| 1192 | + |
| 1193 | + |
| 1194 | + |
1188 | 1195 | |
1189 | 1196 | |
1190 | 1197 | |
1191 | 1198 | |
1192 | 1199 | |
1193 | | - |
| 1200 | + |
1194 | 1201 | |
1195 | 1202 | |
1196 | 1203 | |
| ||
1216 | 1223 | |
1217 | 1224 | |
1218 | 1225 | |
1219 | | - |
| 1226 | + |
| 1227 | + |
| 1228 | + |
| 1229 | + |
1220 | 1230 | |
1221 | 1231 | |
1222 | 1232 | |
1223 | 1233 | |
1224 | 1234 | |
1225 | | - |
| 1235 | + |
1226 | 1236 | |
1227 | 1237 | |
1228 | 1238 | |
|
Collapse file
packages/react-reconciler/src/ReactFiberCommitWork.old.js
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberCommitWork.old.js+14-4Lines changed: 14 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
177 | 177 | |
178 | 178 | |
179 | 179 | |
| 180 | + |
| 181 | + |
| 182 | + |
| 183 | + |
180 | 184 | |
181 | 185 | |
182 | 186 | |
| ||
1184 | 1188 | |
1185 | 1189 | |
1186 | 1190 | |
1187 | | - |
| 1191 | + |
| 1192 | + |
| 1193 | + |
| 1194 | + |
1188 | 1195 | |
1189 | 1196 | |
1190 | 1197 | |
1191 | 1198 | |
1192 | 1199 | |
1193 | | - |
| 1200 | + |
1194 | 1201 | |
1195 | 1202 | |
1196 | 1203 | |
| ||
1216 | 1223 | |
1217 | 1224 | |
1218 | 1225 | |
1219 | | - |
| 1226 | + |
| 1227 | + |
| 1228 | + |
| 1229 | + |
1220 | 1230 | |
1221 | 1231 | |
1222 | 1232 | |
1223 | 1233 | |
1224 | 1234 | |
1225 | | - |
| 1235 | + |
1226 | 1236 | |
1227 | 1237 | |
1228 | 1238 | |
|
Collapse file
packages/react-reconciler/src/ReactFiberTracingMarkerComponent.new.js
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberTracingMarkerComponent.new.js+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
| 40 | + |
40 | 41 | |
41 | 42 | |
42 | 43 | |
43 | 44 | |
44 | 45 | |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
45 | 50 | |
46 | 51 | |
47 | 52 | |
| ||
146 | 151 | |
147 | 152 | |
148 | 153 | |
| 154 | + |
149 | 155 | |
150 | 156 | |
151 | 157 | |
|
Collapse file
packages/react-reconciler/src/ReactFiberTracingMarkerComponent.old.js
Copy file name to clipboardExpand all lines: packages/react-reconciler/src/ReactFiberTracingMarkerComponent.old.js+6Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
| 40 | + |
40 | 41 | |
41 | 42 | |
42 | 43 | |
43 | 44 | |
44 | 45 | |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
45 | 50 | |
46 | 51 | |
47 | 52 | |
| ||
146 | 151 | |
147 | 152 | |
148 | 153 | |
| 154 | + |
149 | 155 | |
150 | 156 | |
151 | 157 | |
|
0 commit comments