Commit 4686872
authored
Log passive commit phase when it wasn't delayed (#31526)
Fixes a bug.
We're supposed to not log "Waiting for Paint" if the passive effect
phase was forced since we weren't really waiting until the paint.
Instead we just log an empty string when we force it to still ensure
continuity.
We should always log the passive phase. This check was in the wrong
place.1 parent 5d89471 commit 4686872
File tree
2 files changed
+15
-6
lines changed- packages/react-reconciler/src
2 files changed
+15
-6
lines changedLines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
224 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
225 | 229 | | |
226 | 230 | | |
227 | 231 | | |
228 | 232 | | |
229 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
230 | 237 | | |
231 | 238 | | |
232 | 239 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3550 | 3550 | | |
3551 | 3551 | | |
3552 | 3552 | | |
3553 | | - | |
| 3553 | + | |
| 3554 | + | |
| 3555 | + | |
| 3556 | + | |
| 3557 | + | |
3554 | 3558 | | |
3555 | 3559 | | |
3556 | 3560 | | |
| |||
3587 | 3591 | | |
3588 | 3592 | | |
3589 | 3593 | | |
3590 | | - | |
3591 | | - | |
3592 | | - | |
| 3594 | + | |
3593 | 3595 | | |
3594 | 3596 | | |
3595 | 3597 | | |
| |||
0 commit comments