Skip to content

Commit

Permalink
docs(en): merging all conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
docschina-bot committed Dec 11, 2024
2 parents c1127ef + 3b02f82 commit 54b3784
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/content/learn/react-developer-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,23 @@ react-devtools

![React Developer Tools standalone](/images/docs/react-devtools-standalone.png)

<<<<<<< HEAD
## 移动端(React Native) {/*mobile-react-native*/}
React 开发者工具同样可检查用 [React Native](https://reactnative.dev/) 构建的应用程序。

使用 React 开发者工具最简单的办法就是全局安装它:
```bash
# Yarn
yarn global add react-devtools
=======
## Mobile (React Native) {/*mobile-react-native*/}

# Npm
npm install -g react-devtools
```
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.
>>>>>>> 3b02f828ff2a4f9d2846f077e442b8a405e2eb04

[Learn more about debugging in React Native.](https://reactnative.dev/docs/debugging)

<<<<<<< HEAD
接下来从终端打开开发者工具:
```bash
react-devtools
Expand All @@ -76,3 +81,6 @@ react-devtools
> 如果几秒钟后开发者工具未连接,请尝试重新加载应用程序。

[了解有关调试 React Native 的更多信息](https://reactnative.dev/docs/debugging)。
=======
> 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.
>>>>>>> 3b02f828ff2a4f9d2846f077e442b8a405e2eb04

0 comments on commit 54b3784

Please sign in to comment.