-
-
Notifications
You must be signed in to change notification settings - Fork 540
Translate: <React Developer Tools> #608
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
Changes from 2 commits
cd48a24
acdbd2b
fd7872b
dc5797b
9e159da
71f1b20
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,30 +4,30 @@ title: React Developer Tools | |||||
|
|
||||||
| <Intro> | ||||||
|
|
||||||
| Use React Developer Tools to inspect React [components](/learn/your-first-component), edit [props](/learn/passing-props-to-a-component) and [state](/learn/state-a-components-memory), and identify performance problems. | ||||||
| React Developer Tools를 사용하여 React [컴포넌트](/learn/your-first-component)를 검사하고 [props](/learn/passing-props-to-a-component)와 [state](/learn/state-a-components-memory)를 편집할 수 있으며 성능 문제를 식별할 수 있습니다. | ||||||
|
|
||||||
| </Intro> | ||||||
|
|
||||||
| <YouWillLearn> | ||||||
|
|
||||||
| * How to install React Developer Tools | ||||||
| * React Developer Tools 설치 방법 | ||||||
|
|
||||||
| </YouWillLearn> | ||||||
|
|
||||||
| ## Browser extension {/*browser-extension*/} | ||||||
| ## 브라우저 확장 {/*browser-extension*/} | ||||||
|
|
||||||
| The easiest way to debug websites built with React is to install the React Developer Tools browser extension. It is available for several popular browsers: | ||||||
| React로 빌드된 웹 사이트를 디버깅하는 가장 쉬운 방법은 React Developer Tools 브라우저 확장을 설치하는 것입니다. 널리 사용되는 여러 브라우저에서 사용할 수 있습니다. | ||||||
|
|
||||||
| * [Install for **Chrome**](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) | ||||||
| * [Install for **Firefox**](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/) | ||||||
| * [Install for **Edge**](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil) | ||||||
| * [**Chrome**용으로 설치](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) | ||||||
| * [**Firefox**용으로 설치](https://addons.mozilla.org/en-US/firefox/addon/react-devtools/) | ||||||
| * [**Edge**용으로 설치](https://microsoftedge.microsoft.com/addons/detail/react-developer-tools/gpphkfbcpidddadnkolkpfckpihlkkil) | ||||||
|
|
||||||
| Now, if you visit a website **built with React,** you will see the _Components_ and _Profiler_ panels. | ||||||
| 설치가 완료되면 **React로 구축된** 사이트에 방문하면 _Components_ and _Profiler_ 패널이 표시됩니다. | ||||||
|
|
||||||
|  | ||||||
|
|
||||||
| ### Safari and other browsers {/*safari-and-other-browsers*/} | ||||||
| For other browsers (for example, Safari), install the [`react-devtools`](https://www.npmjs.com/package/react-devtools) npm package: | ||||||
| ### Safari 및 기타 브라우저 {/*safari-and-other-browsers*/} | ||||||
| 다른 브라우저(예: Safari)의 경우, [`react-devtools`](https://www.npmjs.com/package/react-devtools) 를 npm package로 설치해야 합니다 | ||||||
| ```bash | ||||||
| # Yarn | ||||||
| yarn global add react-devtools | ||||||
|
|
@@ -36,26 +36,26 @@ yarn global add react-devtools | |||||
| npm install -g react-devtools | ||||||
| ``` | ||||||
|
|
||||||
| Next open the developer tools from the terminal: | ||||||
| 다음으로 터미널에서 개발자 도구를 엽니다 | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| ```bash | ||||||
| react-devtools | ||||||
| ``` | ||||||
|
|
||||||
| Then connect your website by adding the following `<script>` tag to the beginning of your website's `<head>`: | ||||||
| 다음으로 당신의 웹 사이트의 `<head>`의 `<script>` 태그를 통해 웹 사이트를 연결합니다 | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
| ```html {3} | ||||||
| <html> | ||||||
| <head> | ||||||
| <script src="http://localhost:8097"></script> | ||||||
| ``` | ||||||
|
|
||||||
| Reload your website in the browser now to view it in developer tools. | ||||||
| 브라우저를 새로고침하면 개발자 도구를 확인할 수 있습니다 | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
|  | ||||||
|
|
||||||
| ## Mobile (React Native) {/*mobile-react-native*/} | ||||||
| React Developer Tools can be used to inspect apps built with [React Native](https://reactnative.dev/) as well. | ||||||
| ## 모바일 (React Native) {/*mobile-react-native*/} | ||||||
| React Developer Tools는 [React Native](https://reactnative.dev/) 로 만들어진 앱에서도 잘 동작합니다 | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
|
||||||
| The easiest way to use React Developer Tools is to install it globally: | ||||||
| React Developer Tools를 사용하는 가장 쉬운 방법은 전역적으로 설치하는 것입니다. | ||||||
| ```bash | ||||||
| # Yarn | ||||||
| yarn global add react-devtools | ||||||
|
|
@@ -64,13 +64,13 @@ yarn global add react-devtools | |||||
| npm install -g react-devtools | ||||||
| ``` | ||||||
|
|
||||||
| Next open the developer tools from the terminal. | ||||||
| 다음으로 터미널에서 개발자 도구를 여십시오. | ||||||
| ```bash | ||||||
| react-devtools | ||||||
| ``` | ||||||
|
|
||||||
| It should connect to any local React Native app that's running. | ||||||
| 실행 중인 로컬 React Native 앱에 연결해야 합니다. | ||||||
|
|
||||||
| > Try reloading the app if developer tools doesn't connect after a few seconds. | ||||||
| > 개발자 도구가 몇 초 후에 연결되지 않으면 앱을 다시 로드해 보십시오. | ||||||
|
|
||||||
| [Learn more about debugging React Native.](https://reactnative.dev/docs/debugging) | ||||||
| [React Native 디버깅에 대하여 더 알아보기](https://reactnative.dev/docs/debugging) | ||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.