From 080f1fa2985930a358be11951e7d267a37b2c211 Mon Sep 17 00:00:00 2001 From: Brandon Chan Date: Sun, 18 Sep 2022 23:22:00 -0600 Subject: [PATCH] Updated the URL link for serve --- packages/react-devtools/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-devtools/README.md b/packages/react-devtools/README.md index e64cae6bc7d9e..07d811ec223da 100644 --- a/packages/react-devtools/README.md +++ b/packages/react-devtools/README.md @@ -97,7 +97,7 @@ By default DevTools listen to port `8097` on `localhost`. If you need to customi ![Allow access to file URLs](https://user-images.githubusercontent.com/29597/64646784-95b58080-d3cc-11e9-943d-02474683398a.png) -Or you could develop with a local HTTP server [like `serve`](https://www.npmjs.com/package/serve). +Or you could develop with a local HTTP server like [`serve`](https://www.npmjs.com/package/serve). **The React tab won't show up if the site doesn't use React**, or if React can't communicate with the devtools. When the page loads, the devtools sets a global named `__REACT_DEVTOOLS_GLOBAL_HOOK__`, then React communicates with that hook during initialization. You can test this on the [React website](https://reactjs.org/) or by inspecting [Facebook](https://www.facebook.com/).