dillon1000/react

Commit

Fix Cannot read property 'sub' of undefined when navigating to plain-text pages (#17848)

Update various parts of DevTools to account for the fact that the global "hook" might be undefined if DevTools didn't inject it (due to the page's `contentType`) it (due to the page's `contentType`)
Browse files
Changed paths6 files
First-parent comparison
M packages/react-devtools-core/src/backend.js ModifiedM packages/react-devtools-extensions/src/backend.js ModifiedM packages/react-devtools-extensions/src/injectGlobalHook.js ModifiedM packages/react-devtools-extensions/src/main.js ModifiedM packages/react-devtools-inline/src/backend.js ModifiedM packages/react-devtools-shared/src/backend/index.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…