Skip to content

Commit 0a96fa5

Browse files
authored
fix conflict & translate
1 parent 54b3784 commit 0a96fa5

1 file changed

Lines changed: 4 additions & 27 deletions

File tree

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

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -52,35 +52,12 @@ react-devtools
5252

5353
现在在浏览器里刷新你的网站,你可以在开发者工具里查看它。
5454

55-
![React Developer Tools standalone](/images/docs/react-devtools-standalone.png)
55+
![独立的 React Developer Tools](/images/docs/react-devtools-standalone.png)
5656

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

61-
使用 React 开发者工具最简单的办法就是全局安装它:
62-
```bash
63-
# Yarn
64-
yarn global add react-devtools
65-
=======
66-
## Mobile (React Native) {/*mobile-react-native*/}
67-
68-
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.
69-
>>>>>>> 3b02f828ff2a4f9d2846f077e442b8a405e2eb04
70-
71-
[Learn more about debugging in React Native.](https://reactnative.dev/docs/debugging)
72-
73-
<<<<<<< HEAD
74-
接下来从终端打开开发者工具:
75-
```bash
76-
react-devtools
77-
```
78-
79-
它应该可以连接到任何正在运行的本地 React Native 应用程序。
80-
81-
> 如果几秒钟后开发者工具未连接,请尝试重新加载应用程序。
59+
你可以使用 [React Native DevTools](https://reactnative.dev/docs/debugging/react-native-devtools) 来检查 [React Native](https://reactnative.dev/) 应用程序,它的内置调试器与 React Developer Tools 进行了深度集成。所有功能与浏览器扩展的工作方式相同,包括本机元素突出显示和选择。
8260

8361
[了解有关调试 React Native 的更多信息](https://reactnative.dev/docs/debugging)
84-
=======
85-
> 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.
86-
>>>>>>> 3b02f828ff2a4f9d2846f077e442b8a405e2eb04
62+
63+
> 对于 React Native 0.76 之前的版本,请按照上面的 [Safari and other browsers](#safari-and-other-browsers) 指南独立构建 React DevTools。

0 commit comments

Comments
 (0)