4
"⚛ (Waiting for async callback... will force flush in 5230 ms)
5
6
// Mount
7
-⚛ (React Tree Reconciliation)
7
+⚛ (React Tree Reconciliation: Completed Root)
8
⚛ AllLifecycles [mount]
9
⚛ AllLifecycles.componentWillMount
10
⚛ AllLifecycles.getChildContext
18
⚛ (Waiting for async callback... will force flush in 5230 ms)
19
20
// Update
21
-⚛ (React Tree Reconciliation)
21
+⚛ (React Tree Reconciliation: Completed Root)
22
⚛ AllLifecycles [update]
23
⚛ AllLifecycles.componentWillReceiveProps
24
⚛ AllLifecycles.shouldComponentUpdate
34
⚛ (Waiting for async callback... will force flush in 5230 ms)
35
36
// Unmount
37
-⚛ (React Tree Reconciliation)
37
+⚛ (React Tree Reconciliation: Completed Root)
38
39
⚛ (Committing Changes)
40
⚛ (Committing Snapshot Effects: 0 Total)
48
"⚛ (Waiting for async callback... will force flush in 5230 ms)
49
50
// The commit phase should mention A and B just once
51
-⚛ (React Tree Reconciliation)
51
+⚛ (React Tree Reconciliation: Completed Root)
52
⚛ Parent [update]
53
⚛ A [update]
54
⚛ B [update]
66
67
// Because of deduplication, we don't know B was cascading,
68
// but we should still see the warning for the commit phase.
69
-⚛ (React Tree Reconciliation)
69
+⚛ (React Tree Reconciliation: Completed Root)
70
⚛ Parent [update]
71
⚛ A [update]
72
⚛ B [update]
80
⚛ A.componentDidUpdate
81
⚛ B.componentDidUpdate
82
83
-⚛ (React Tree Reconciliation)
83
+⚛ (React Tree Reconciliation: Completed Root)
84
⚛ B [update]
85
86
⚛ (Committing Changes)
92
`;
93
94
exports[`ReactDebugFiberPerf does not schedule an extra callback if setState is called during a synchronous commit phase 1`] = `
95
-"⚛ (React Tree Reconciliation)
95
+"⚛ (React Tree Reconciliation: Completed Root)
96
⚛ Component [mount]
97
98
⛔ (Committing Changes) Warning: Lifecycle hook scheduled a cascading update
101
⚛ (Calling Lifecycle Methods: 1 Total)
102
⛔ Component.componentDidMount Warning: Scheduled a cascading update
103
104
-⚛ (React Tree Reconciliation)
104
+⚛ (React Tree Reconciliation: Completed Root)
105
⚛ Component [update]
106
107
⚛ (Committing Changes)
115
"⚛ (Waiting for async callback... will force flush in 5230 ms)
116
117
// Should not print a warning
118
-⚛ (React Tree Reconciliation)
118
+⚛ (React Tree Reconciliation: Completed Root)
119
⚛ Parent [mount]
120
⚛ NotCascading [mount]
121
⚛ NotCascading.componentWillMount
128
⚛ (Waiting for async callback... will force flush in 5230 ms)
129
130
// Should not print a warning
131
-⚛ (React Tree Reconciliation)
131
+⚛ (React Tree Reconciliation: Completed Root)
132
⚛ Parent [update]
133
⚛ NotCascading [update]
134
⚛ NotCascading.componentWillReceiveProps
144
"⚛ (Waiting for async callback... will force flush in 5230 ms)
145
146
// Mount
147
-⚛ (React Tree Reconciliation)
147
+⚛ (React Tree Reconciliation: Completed Root)
148
⚛ Parent [mount]
149
⚛ Child [mount]
150
156
⚛ (Waiting for async callback... will force flush in 5230 ms)
157
158
// Update
159
-⚛ (React Tree Reconciliation)
159
+⚛ (React Tree Reconciliation: Completed Root)
160
⚛ Parent [update]
161
⚛ Child [update]
162
168
⚛ (Waiting for async callback... will force flush in 5230 ms)
169
170
// Unmount
171
-⚛ (React Tree Reconciliation)
171
+⚛ (React Tree Reconciliation: Completed Root)
172
173
⚛ (Committing Changes)
174
⚛ (Committing Snapshot Effects: 0 Total)
181
"⚛ (Waiting for async callback... will force flush in 5230 ms)
182
183
// Start mounting Parent and A
184
-⚛ (React Tree Reconciliation)
184
+⚛ (React Tree Reconciliation: Yielded)
185
⚛ Parent [mount]
186
⚛ A [mount]
187
⚛ Child [mount]
189
⚛ (Waiting for async callback... will force flush in 5230 ms)
190
191
// Mount B just a little (but not enough to memoize)
192
-⚛ (React Tree Reconciliation)
192
+⚛ (React Tree Reconciliation: Yielded)
193
⚛ Parent [mount]
194
⚛ B [mount]
195
196
⚛ (Waiting for async callback... will force flush in 5230 ms)
197
198
// Complete B and Parent
199
-⚛ (React Tree Reconciliation)
199
+⚛ (React Tree Reconciliation: Completed Root)
200
⚛ Parent [mount]
201
⚛ B [mount]
202
⚛ Child [mount]
210
211
exports[`ReactDebugFiberPerf measures deprioritized work 1`] = `
212
"// Flush the parent
213
-⚛ (React Tree Reconciliation)
213
+⚛ (React Tree Reconciliation: Completed Root)
214
⚛ Parent [mount]
215
216
⚛ (Committing Changes)
221
⚛ (Waiting for async callback... will force flush in 10737418210 ms)
222
223
// Flush the child
224
-⚛ (React Tree Reconciliation)
224
+⚛ (React Tree Reconciliation: Completed Root)
225
⚛ Child [mount]
226
227
⚛ (Committing Changes)
235
"⚛ (Waiting for async callback... will force flush in 5230 ms)
236
237
// Stop on Baddie and restart from Boundary
238
-⚛ (React Tree Reconciliation)
238
+⚛ (React Tree Reconciliation: Yielded)
239
⚛ Parent [mount]
240
⛔ Boundary [mount] Warning: An error was thrown inside this error boundary
241
⚛ Parent [mount]
242
⚛ Baddie [mount]
243
244
-⚛ (React Tree Reconciliation)
244
+⚛ (React Tree Reconciliation: Completed Root)
245
⚛ Parent [mount]
246
⚛ Boundary [mount]
247
250
⚛ (Committing Host Effects: 2 Total)
251
⚛ (Calling Lifecycle Methods: 0 Total)
252
253
-⚛ (React Tree Reconciliation)
253
+⚛ (React Tree Reconciliation: Completed Root)
254
⚛ Boundary [update]
255
⚛ ErrorReport [mount]
256
265
"⚛ (Waiting for async callback... will force flush in 5230 ms)
266
267
// Will fatal
268
-⚛ (React Tree Reconciliation)
268
+⚛ (React Tree Reconciliation: Yielded)
269
⚛ Parent [mount]
270
⚛ Baddie [mount]
271
272
-⚛ (React Tree Reconciliation)
272
+⚛ (React Tree Reconciliation: Completed Root)
273
274
⚛ (Committing Changes)
275
⚛ (Committing Snapshot Effects: 0 Total)
279
⚛ (Waiting for async callback... will force flush in 5230 ms)
280
281
// Will reconcile from a clean state
282
-⚛ (React Tree Reconciliation)
282
+⚛ (React Tree Reconciliation: Completed Root)
283
⚛ Parent [mount]
284
⚛ Child [mount]
285
294
"⚛ (Waiting for async callback... will force flush in 5230 ms)
295
296
// Should include just A and B, no Parents
297
-⚛ (React Tree Reconciliation)
297
+⚛ (React Tree Reconciliation: Completed Root)
298
⚛ A [update]
299
⚛ B [update]
300
308
exports[`ReactDebugFiberPerf supports portals 1`] = `
309
"⚛ (Waiting for async callback... will force flush in 5230 ms)
310
311
-⚛ (React Tree Reconciliation)
311
+⚛ (React Tree Reconciliation: Completed Root)
312
⚛ Parent [mount]
313
⚛ Child [mount]
314
322
exports[`ReactDebugFiberPerf supports returns 1`] = `
323
"⚛ (Waiting for async callback... will force flush in 5230 ms)
324
325
-⚛ (React Tree Reconciliation)
325
+⚛ (React Tree Reconciliation: Completed Root)
326
⚛ App [mount]
327
⚛ CoParent [mount]
328
⚛ Indirection [mount]
341
exports[`ReactDebugFiberPerf warns if an in-progress update is interrupted 1`] = `
342
"⚛ (Waiting for async callback... will force flush in 5230 ms)
343
344
-⚛ (React Tree Reconciliation)
344
+⚛ (React Tree Reconciliation: Yielded)
345
⚛ Foo [mount]
346
347
⚛ (Waiting for async callback... will force flush in 5230 ms)
348
- ⛔ (React Tree Reconciliation) Warning: A top-level update interrupted the previous render
348
+ ⛔ (React Tree Reconciliation: Completed Root) Warning: A top-level update interrupted the previous render
349
⚛ Foo [mount]
350
⚛ (Committing Changes)
351
⚛ (Committing Snapshot Effects: 0 Total)
352
⚛ (Committing Host Effects: 1 Total)
353
⚛ (Calling Lifecycle Methods: 0 Total)
354
355
-⚛ (React Tree Reconciliation)
355
+⚛ (React Tree Reconciliation: Completed Root)
356
357
⚛ (Committing Changes)
358
⚛ (Committing Snapshot Effects: 0 Total)
364
exports[`ReactDebugFiberPerf warns if async work expires (starvation) 1`] = `
365
"⛔ (Waiting for async callback... will force flush in 5230 ms) Warning: React was blocked by main thread
366
367
-⚛ (React Tree Reconciliation)
367
+⚛ (React Tree Reconciliation: Completed Root)
368
⚛ Foo [mount]
369
370
⚛ (Committing Changes)
378
"⚛ (Waiting for async callback... will force flush in 5230 ms)
379
380
// Should print a warning
381
-⚛ (React Tree Reconciliation)
381
+⚛ (React Tree Reconciliation: Completed Root)
382
⚛ Parent [mount]
383
⚛ Cascading [mount]
384
388
⚛ (Calling Lifecycle Methods: 1 Total)
389
⛔ Cascading.componentDidMount Warning: Scheduled a cascading update
390
391
-⚛ (React Tree Reconciliation)
391
+⚛ (React Tree Reconciliation: Completed Root)
392
⚛ Cascading [update]
393
394
⚛ (Committing Changes)
402
"⚛ (Waiting for async callback... will force flush in 5230 ms)
403
404
// Rendering the first root
405
-⚛ (React Tree Reconciliation)
405
+⚛ (React Tree Reconciliation: Completed Root)
406
⚛ Cascading [mount]
407
408
⛔ (Committing Changes) Warning: Lifecycle hook scheduled a cascading update
412
⛔ Cascading.componentDidMount Warning: Scheduled a cascading update
413
414
// Scheduling another root from componentDidMount
415
-⚛ (React Tree Reconciliation)
415
+⚛ (React Tree Reconciliation: Completed Root)
416
⚛ Child [mount]
417
418
⚛ (Committing Changes)