dillon1000/react
Commit
Browse files (patch)[DevTools] bug fix: backend injection logic not working for undocked devtools window (#26665)
bugfix for #26492 This bug would cause users unable to use the devtools (component tree empty). The else-if logic is broken when user switch to undocked devtools mode (separate window) because `sender.tab` would exist in that case. <img width="314" alt="image" src="https://user-images.githubusercontent.com/1001890/232930094-05a74445-9189-4d50-baf1-a0360b29ef7e.png"> Tested on Chrome with a local build
Changed paths1 file
First-parent comparisonpackages/react-devtools-extensions/src/background.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…