Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add named hooks support to react-devtools-inline #22263

Merged
Prev Previous commit
Next Next commit
Fixed incorrect path in dynamic import()
  • Loading branch information
Brian Vaughn committed Sep 9, 2021
commit 22d2eb2c0d51a5078e63a6faaf75bff3793257eb
2 changes: 1 addition & 1 deletion packages/react-devtools-extensions/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function createPanelIfReactLoaded() {

// TODO (Webpack 5) Hopefully we can remove this prop after the Webpack 5 migration.
const hookNamesModuleLoaderFunction = () =>
import('react-devtools-shared/src/hooks/parseHookNames');
import('react-devtools-inline/hookNames');

root = createRoot(document.createElement('div'));

Expand Down