Commit 4a86ec5
authored
fix[react-devtools]: removed redundant startProfiling call (#31131)
Stacked on #31118. See last
commit.
We don't need to call `startProfiling()` here, because we delegate this
to the Renderer itself:
https://github.com/facebook/react/blob/830e823cd2c6ee675636d31320b10350e8ade9ae/packages/react-devtools-shared/src/backend/fiber/renderer.js#L5227-L5232
Since this is de-facto the constructor of Renderer, this will be called
earlier.
Validated via testing the reload-to-profile for Chrome browser
extension.1 parent 389a2de commit 4a86ec5
1 file changed
Lines changed: 0 additions & 4 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
718 | | - | |
719 | | - | |
720 | | - | |
721 | 717 | | |
722 | 718 | | |
723 | 719 | | |
| |||
0 commit comments