Skip to content

Commit ea2299c

Browse files
authored
Merge pull request #74 from reactjs/sync-3b02f828
Sync with react.dev @ 3b02f82
2 parents fdb859b + ffd7f57 commit ea2299c

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

src/content/learn/react-developer-tools.md

+3-18
Original file line numberDiff line numberDiff line change
@@ -53,24 +53,9 @@ Reload your website in the browser now to view it in developer tools.
5353
![React Developer Tools standalone](/images/docs/react-devtools-standalone.png)
5454

5555
## Mobile (React Native) {/*mobile-react-native*/}
56-
React Developer Tools can be used to inspect apps built with [React Native](https://reactnative.dev/) as well.
5756

58-
The easiest way to use React Developer Tools is to install it globally:
59-
```bash
60-
# Yarn
61-
yarn global add react-devtools
62-
63-
# Npm
64-
npm install -g react-devtools
65-
```
66-
67-
Next open the developer tools from the terminal.
68-
```bash
69-
react-devtools
70-
```
71-
72-
It should connect to any local React Native app that's running.
57+
To inspect apps built with [React Native](https://reactnative.dev/), you can use [React Native DevTools](https://reactnative.dev/docs/debugging/react-native-devtools), the built-in debugger that deeply integrates React Developer Tools. All features work identically to the browser extension, including native element highlighting and selection.
7358

74-
> Try reloading the app if developer tools doesn't connect after a few seconds.
59+
[Learn more about debugging in React Native.](https://reactnative.dev/docs/debugging)
7560

76-
[Learn more about debugging React Native.](https://reactnative.dev/docs/debugging)
61+
> For versions of React Native earlier than 0.76, please use the standalone build of React DevTools by following the [Safari and other browsers](#safari-and-other-browsers) guide above.

0 commit comments

Comments
 (0)