Skip to content

Commit 42452de

Browse files
author
Brian Vaughn
committed
Show which Fibers scheduled an update in DevTools
This builds on top of a recently-added React feature, enableUpdaterTracking.
1 parent 0c6681e commit 42452de

17 files changed

+261
-55
lines changed

packages/react-devtools-shared/src/__tests__/__snapshots__/ownersListContext-test.js.snap

+12
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,21 @@ Array [
1313
"displayName": "Grandparent",
1414
"hocDisplayNames": null,
1515
"id": 2,
16+
"key": null,
1617
"type": 5,
1718
},
1819
Object {
1920
"displayName": "Parent",
2021
"hocDisplayNames": null,
2122
"id": 3,
23+
"key": null,
2224
"type": 5,
2325
},
2426
Object {
2527
"displayName": "Child",
2628
"hocDisplayNames": null,
2729
"id": 4,
30+
"key": null,
2831
"type": 5,
2932
},
3033
]
@@ -44,18 +47,21 @@ Array [
4447
"displayName": "Grandparent",
4548
"hocDisplayNames": null,
4649
"id": 2,
50+
"key": null,
4751
"type": 5,
4852
},
4953
Object {
5054
"displayName": "Parent",
5155
"hocDisplayNames": null,
5256
"id": 3,
57+
"key": null,
5358
"type": 5,
5459
},
5560
Object {
5661
"displayName": "Child",
5762
"hocDisplayNames": null,
5863
"id": 4,
64+
"key": null,
5965
"type": 5,
6066
},
6167
]
@@ -67,12 +73,14 @@ Array [
6773
"displayName": "Grandparent",
6874
"hocDisplayNames": null,
6975
"id": 2,
76+
"key": null,
7077
"type": 5,
7178
},
7279
Object {
7380
"displayName": "Parent",
7481
"hocDisplayNames": null,
7582
"id": 3,
83+
"key": null,
7684
"type": 5,
7785
},
7886
]
@@ -84,6 +92,7 @@ Array [
8492
"displayName": "Grandparent",
8593
"hocDisplayNames": null,
8694
"id": 2,
95+
"key": null,
8796
"type": 5,
8897
},
8998
Object {
@@ -92,6 +101,7 @@ Array [
92101
"Memo",
93102
],
94103
"id": 3,
104+
"key": null,
95105
"type": 8,
96106
},
97107
Object {
@@ -100,6 +110,7 @@ Array [
100110
"ForwardRef",
101111
],
102112
"id": 4,
113+
"key": null,
103114
"type": 6,
104115
},
105116
]
@@ -116,6 +127,7 @@ Array [
116127
"displayName": "Grandparent",
117128
"hocDisplayNames": null,
118129
"id": 2,
130+
"key": null,
119131
"type": 5,
120132
},
121133
]

0 commit comments

Comments
 (0)