You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e61aa4d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,7 @@ React 문서 기여에 관심을 가져주셔서 감사합니다!
36
36
37
37
ES5만 다루는 경우라면 이 규칙은 무시하세요.
38
38
39
+
<<<<<<< HEAD
39
40
#### ES5의 기능만으로 간단하게 작성할 수 있는 경우, ES6의 기능을 무조건적으로 사용하지 마세요
40
41
41
42
ES6가 아직 낯선 사람도 많습니다. 이미 여러 곳에서 `const` / `let`, 클래스, 화살표 함수 등을 사용하고 있지만, 그에 상응하는 ES5 코드가 간단하고 가독성이 좋다면 ES5를 사용하는 것도 고려하세요.
@@ -71,6 +72,11 @@ class MyComponent extends React.Component {
71
72
```
72
73
73
74
실험적인 제안<sup>Experimental Proposal</sup>에 대해 설명하는 경우라면 예외로 하되, 코드와 주변 글에서 실험적임<sup>Experimental</sup>을 명시하세요.
75
+
=======
76
+
#### Prefer readable syntax.
77
+
78
+
Choose syntax that makes each example easier to follow. Prefer named `function` declarations over `const myFunction = () => ...` arrows for top-level functions. Use arrow functions when they make callbacks easier to read. In class components, arrow functions can also preserve the component's `this` value.
1. Yarn Classic: See [Yarn website for installation instructions](https://classic.yarnpkg.com/en/docs/install/)
33
+
1. A fork of the repo (for any contributions)
34
+
1. A clone of the [react.dev repo](https://github.com/reactjs/react.dev) on your local machine
35
+
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
29
36
30
37
### 설치
31
38
39
+
<<<<<<< HEAD
32
40
1.`cd ko.react.dev`를 실행하여 프로젝트 경로로 이동합니다.
33
41
1.`yarn` 명령어를 실행하여 npm 의존성 모듈들을 설치합니다.
42
+
=======
43
+
1.`cd react.dev` to go into the project root
44
+
2.`git remote add my-fork-name https://github.com/YOUR_USERNAME/react.dev.git` to add your fork as a remote. Replace `YOUR_USERNAME` with your GitHub username. You only need to do this once.
45
+
3.`yarn` to install the website's npm dependencies
46
+
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
34
47
35
48
### 개발 서버 실행하기
36
49
@@ -51,11 +64,19 @@
51
64
52
65
### 수정하기
53
66
67
+
<<<<<<< HEAD
54
68
1.["개발 서버 실행하기"](#개발-서버-실행하기) 부분을 따릅니다.
55
69
1. 파일을 저장하고 브라우저에서 확인합니다.
56
70
1.`src` 안에 있는 React 컴포넌트가 수정될 경우 hot-reload가 적용됩니다.
57
71
1.`content` 안에 있는 마크다운 파일이 수정될 경우 hot-reload가 적용됩니다.
58
72
1. 플러그인을 사용하는 경우, `.cache` 디렉토리를 제거한 후 서버를 재시작해야 합니다.
73
+
=======
74
+
1. Follow the ["Running locally"](#running-locally) instructions
75
+
1. Save the files and check in the browser
76
+
1. Changes to React components in `src` will hot-reload
77
+
1. Changes to markdown files in `src/content` will hot-reload
78
+
1. If working with plugins, you may need to remove the `node_modules/.cache/react-docs-mdx` directory and restart the server
79
+
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
59
80
60
81
### 수정사항 검사하기
61
82
@@ -72,7 +93,11 @@
72
93
73
94
## 문제 해결하기
74
95
96
+
<<<<<<< HEAD
75
97
`yarn cache-reset` 명령어를 사용하여 로컬 캐시를 초기화합니다.
98
+
=======
99
+
If you are interested in translating `react.dev`, please see the current translation efforts [here](https://react.dev/community/translations).
Copy file name to clipboardExpand all lines: src/content/blog/2023/03/16/introducing-react-dev.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,8 +42,13 @@ description: 오늘 React와 React 문서의 새로운 보금자리인 react.dev
42
42
43
43
**새로운 문서는 Hook을 사용한 React를 처음부터 가르칩니다.** 문서는 두 가지 주요 섹션으로 나뉘어져 있습니다.
44
44
45
+
<<<<<<< HEAD
45
46
***[React 학습하기](/learn)** 는 React를 기초부터 스스로 학습할 수 있는 과정입니다.
46
47
***[API 참고서](/reference)** 는 모든 React API에 대한 세부 내용과 사용 예시를 제공합니다.
48
+
=======
49
+
***[Learn React](/learn)** is a self-paced course that teaches React from scratch.
50
+
***[API Reference](/reference/react)** provides the details and usage examples for every React API.
51
+
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
47
52
48
53
각 섹션에서 무슨 내용을 알 수 있는지 자세히 살펴보겠습니다.
49
54
@@ -460,13 +465,21 @@ export default function PackingList() {
460
465
461
466
[API 참고서](/reference/react)에서, 이제 모든 React API는 전용 페이지를 가집니다. 모든 종류의 API들이 포함됩니다.
462
467
468
+
<<<<<<< HEAD
463
469
-[`useState`](/reference/react/useState) 같은 내장 Hook
464
470
-[`<Suspense>`](/reference/react/Suspense) 같은 내장 컴포넌트
465
471
-[`<input>`](/reference/react-dom/components/input) 같은 브라우저 내장 컴포넌트
466
472
-[`renderToPipeableStream`](/reference/react-dom/server/renderToReadableStream) 같은 프레임워크 지향 API
467
473
-[`memo`](/reference/react/memo) 같은 그 밖의 React API
468
474
r
469
475
모든 API 페이지가 *레퍼런스* 와 *사용법*을 포함하는 최소 두 개의 세그먼트로 나뉘어 있다는 것을 알 수 있습니다.
476
+
=======
477
+
- Built-in Hooks like [`useState`](/reference/react/useState).
478
+
- Built-in components like [`<Suspense>`](/reference/react/Suspense).
479
+
- Built-in browser components like [`<input>`](/reference/react-dom/components/input).
480
+
- Framework-oriented APIs like [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream).
481
+
- Other React APIs like [`memo`](/reference/react/memo).
482
+
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
470
483
471
484
[레퍼런스](/reference/react/useState#reference)는 인자와 반환 값을 나열하여 형식적인 API 서명을 설명합니다. 이는 간결하지만, 해당 API에 익숙하지 않다면 약간 추상적으로 느껴질 수 있습니다. 이것은 API를 어떻게 사용하는지가 아닌, API가 무엇을 하는지를 설명합니다.
또한 몇몇 API 페이지는 (일반적인 문제에 대한) [트러블슈팅](/reference/react/useEffect#troubleshooting)과 (더 이상 사용하지 않는 API와 관련된) [대안](/reference/react-dom/findDOMNode#alternatives)을 포함하고 있습니다.
626
+
=======
627
+
Some API pages also include [Troubleshooting](/reference/react/useEffect#troubleshooting) (for common problems) and [Alternatives](https://18.react.dev/reference/react-dom/findDOMNode#alternatives) (for deprecated APIs).
628
+
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
612
629
613
630
이러한 접근 방식이 API 참고서를 단순히 인자를 찾는 용도뿐만 아니라, 각 API가 어떤 다양한 작업을 수행할 수 있는지, 어떻게 다른 API와 연결되어 있는지를 확인하는 데 유용하게 될 것을 기대합니다.
0 commit comments