Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[react-devtools]: request hook initialization inside http server r…
…esponse (#31102) Fixes #31100. There are 2 things: 1. In #30987, we've introduced a breaking change: importing `react-devtools-core` is no longer enough for installing React DevTools global Hook. You need to call `initialize`, in which you may provide initial settings. I am not adding settings here, because it is not implemented, and there are no plans for supporting this. 2. Calling `installHook` is not necessary inside `standalone.js`, because this script is running inside Electron wrapper (which is just a UI, not the app that we are debugging). We will loose the ability to use React DevTools on this React application, but I guess thats fine.
- Loading branch information