Skip to content

Commit 0ca444b

Browse files
committed
Resolve all merge conflicts with main and keep Korean translations
2 parents e61aa4d + ad2478c commit 0ca444b

57 files changed

Lines changed: 396 additions & 989 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -36,47 +36,9 @@ React 문서 기여에 관심을 가져주셔서 감사합니다!
3636

3737
ES5만 다루는 경우라면 이 규칙은 무시하세요.
3838

39-
<<<<<<< HEAD
40-
#### ES5의 기능만으로 간단하게 작성할 수 있는 경우, ES6의 기능을 무조건적으로 사용하지 마세요
39+
#### 읽기 쉬운 구문을 선호합니다
4140

42-
ES6가 아직 낯선 사람도 많습니다. 이미 여러 곳에서 `const` / `let`, 클래스, 화살표 함수 등을 사용하고 있지만, 그에 상응하는 ES5 코드가 간단하고 가독성이 좋다면 ES5를 사용하는 것도 고려하세요.
43-
44-
특히 최상위 함수에서는 `const myFunction = () => ...`과 같은 화살표 함수 대신에 이름 있는 `function` 선언을 선호합니다. 하지만 컴포넌트 내 `this` 컨텍스트를 유지해야 하는 경우에는 화살표 함수를 사용하세요. 새로운 문법을 사용할 때는 장단점을 모두 따져보고 결정하세요.
45-
46-
#### 아직 표준화되지 않은 기능은 사용하지 마세요
47-
48-
예를 들어, 다음 코드처럼 작성하지 마세요.
49-
50-
```js
51-
class MyComponent extends React.Component {
52-
state = {value: ''};
53-
handleChange = (e) => {
54-
this.setState({value: e.target.value});
55-
};
56-
}
57-
```
58-
59-
대신, 다음처럼 작성하세요.
60-
61-
```js
62-
class MyComponent extends React.Component {
63-
constructor(props) {
64-
super(props);
65-
this.handleChange = this.handleChange.bind(this);
66-
this.state = {value: ''};
67-
}
68-
handleChange(e) {
69-
this.setState({value: e.target.value});
70-
}
71-
}
72-
```
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.
79-
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
41+
각 예시를 쉽게 따라갈 수 있는 구문을 선택하세요. 최상위 함수에서는 `const myFunction = () => ...`과 같은 화살표 함수 대신에 이름 있는 `function` 선언을 선호합니다. 콜백을 더 읽기 쉽게 만들어 주는 경우에는 화살표 함수를 사용하세요. 클래스 컴포넌트에서 화살표 함수는 컴포넌트의 `this` 값을 유지할 수도 있습니다.
8042

8143
### 스타일
8244

‎README.md‎

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -22,28 +22,16 @@
2222
### 사전 준비
2323

2424
1. Git
25-
<<<<<<< HEAD
26-
1. Node: v16.8.0 이상의 모든 버전
27-
1. Yarn v1(`yarn@1.22.22`): [Yarn 설치 안내](https://yarnpkg.com/lang/en/docs/install/) 참고
25+
1. Node: v24 이상의 모든 버전
26+
1. Yarn v1(`yarn@1.22.22`): [Yarn 설치 안내](https://classic.yarnpkg.com/en/docs/install/) 참고
2827
1. 포크<sup>Fork</sup>한 개인 저장소
2928
1. 로컬에 클론<sup>Clone</sup>한 [ko.react.dev 저장소](https://github.com/reactjs/ko.react.dev)
30-
=======
31-
1. Node: v24 or greater
32-
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
3629

3730
### 설치
3831

39-
<<<<<<< HEAD
4032
1. `cd ko.react.dev`를 실행하여 프로젝트 경로로 이동합니다.
33+
1. `git remote add my-fork-name https://github.com/YOUR_USERNAME/ko.react.dev.git`을 실행하여 포크한 저장소를 원격 저장소로 추가합니다. `YOUR_USERNAME`을 본인의 GitHub 사용자 이름으로 변경하세요. 이 작업은 한 번만 수행하면 됩니다.
4134
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
4735

4836
### 개발 서버 실행하기
4937

@@ -64,19 +52,11 @@
6452

6553
### 수정하기
6654

67-
<<<<<<< HEAD
6855
1. ["개발 서버 실행하기"](#개발-서버-실행하기) 부분을 따릅니다.
6956
1. 파일을 저장하고 브라우저에서 확인합니다.
7057
1. `src` 안에 있는 React 컴포넌트가 수정될 경우 hot-reload가 적용됩니다.
71-
1. `content` 안에 있는 마크다운 파일이 수정될 경우 hot-reload가 적용됩니다.
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
58+
1. `src/content` 안에 있는 마크다운 파일이 수정될 경우 hot-reload가 적용됩니다.
59+
1. 플러그인을 사용하는 경우, `node_modules/.cache/react-docs-mdx` 디렉토리를 제거한 후 서버를 재시작해야 할 수 있습니다.
8060

8161
### 수정사항 검사하기
8262

@@ -93,11 +73,7 @@
9373

9474
## 문제 해결하기
9575

96-
<<<<<<< HEAD
9776
`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).
100-
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
10177

10278
## 번역
10379

‎next-env.d.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

‎src/content/blog/2023/03/16/introducing-react-dev.md‎

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,8 @@ description: 오늘 React와 React 문서의 새로운 보금자리인 react.dev
4242

4343
**새로운 문서는 Hook을 사용한 React를 처음부터 가르칩니다.** 문서는 두 가지 주요 섹션으로 나뉘어져 있습니다.
4444

45-
<<<<<<< HEAD
4645
* **[React 학습하기](/learn)** 는 React를 기초부터 스스로 학습할 수 있는 과정입니다.
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
46+
* **[API 참고서](/reference/react)** 는 모든 React API에 대한 세부 내용과 사용 예시를 제공합니다.
5247

5348
각 섹션에서 무슨 내용을 알 수 있는지 자세히 살펴보겠습니다.
5449

@@ -465,21 +460,13 @@ export default function PackingList() {
465460

466461
[API 참고서](/reference/react)에서, 이제 모든 React API는 전용 페이지를 가집니다. 모든 종류의 API들이 포함됩니다.
467462

468-
<<<<<<< HEAD
469463
- [`useState`](/reference/react/useState) 같은 내장 Hook
470464
- [`<Suspense>`](/reference/react/Suspense) 같은 내장 컴포넌트
471465
- [`<input>`](/reference/react-dom/components/input) 같은 브라우저 내장 컴포넌트
472-
- [`renderToPipeableStream`](/reference/react-dom/server/renderToReadableStream) 같은 프레임워크 지향 API
466+
- [`renderToPipeableStream`](/reference/react-dom/server/renderToPipeableStream) 같은 프레임워크 지향 API
473467
- [`memo`](/reference/react/memo) 같은 그 밖의 React API
474-
r
468+
475469
모든 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
483470

484471
[레퍼런스](/reference/react/useState#reference)는 인자와 반환 값을 나열하여 형식적인 API 서명을 설명합니다. 이는 간결하지만, 해당 API에 익숙하지 않다면 약간 추상적으로 느껴질 수 있습니다. 이것은 API를 어떻게 사용하는지가 아닌, API가 무엇을 하는지를 설명합니다.
485472

@@ -621,11 +608,7 @@ button { display: block; margin-top: 10px; }
621608

622609
</Recipes>
623610

624-
<<<<<<< HEAD
625-
또한 몇몇 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
611+
또한 몇몇 API 페이지는 (일반적인 문제에 대한) [트러블슈팅](/reference/react/useEffect#troubleshooting)과 (더 이상 사용하지 않는 API와 관련된) [대안](https://18.react.dev/reference/react-dom/findDOMNode#alternatives)을 포함하고 있습니다.
629612

630613
이러한 접근 방식이 API 참고서를 단순히 인자를 찾는 용도뿐만 아니라, 각 API가 어떤 다양한 작업을 수행할 수 있는지, 어떻게 다른 API와 연결되어 있는지를 확인하는 데 유용하게 될 것을 기대합니다.
631614

‎src/content/blog/2024/04/25/react-19-upgrade-guide.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -639,11 +639,7 @@ const ref = useRef<number>(null);
639639
ref.current = 1;
640640
```
641641

642-
<<<<<<< HEAD
643-
`MutableRef`는 이제 사용 중단되었으며 `useRef`는 항상 단일 `RefObject` 타입을 반환합니다.
644-
=======
645-
`MutableRefObject` is now deprecated in favor of a single `RefObject` type which `useRef` will always return:
646-
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
642+
`MutableRefObject`는 이제 사용 중단되었으며 `useRef`는 항상 단일 `RefObject` 타입을 반환합니다.
647643

648644
```ts
649645
interface RefObject<T> {

‎src/content/blog/2024/12/05/react-19.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -389,11 +389,7 @@ React 서버 컴포넌트를 지원하기 위해, 특정 React 버전에 고정
389389

390390
서버 액션은 서버 컴포넌트에서 생성되며 클라이언트 컴포넌트에 props를 전달되거나 클라이언트 컴포넌트에서 가져와 사용할 수 있습니다.
391391

392-
<<<<<<< HEAD
393-
더 많은 정보는 [React 서버 액션](/reference/rsc/server-actions)을 참고하세요.
394-
=======
395-
For more, see the docs for [React Server Actions](/reference/rsc/server-functions).
396-
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
392+
더 많은 정보는 [React 서버 액션](/reference/rsc/server-functions)을 참고하세요.
397393

398394
## React 19에서 개선 사항 {/*improvements-in-react-19*/}
399395

‎src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14266,11 +14266,7 @@ hooks를 출시했을 때, 저희는 세 가지 동기가 있었습니다:
1426614266

1426714267
종종 혼란은 필요하지 않을 때 Effect를 사용하는 데서 온다는 것을 발견했습니다. [You Might Not Need an Effect](/learn/you-might-not-need-an-effect) 가이드는 Effects가 올바른 솔루션이 아닌 경우들을 많이 다루고 있습니다. 하지만 Effect가 문제에 적합한 해결책일 때조차도, Effects는 클래스 컴포넌트 생명주기보다 여전히 이해하기 어려울 수 있습니다.
1426814268

14269-
<<<<<<< HEAD
1427014269
혼란의 이유 중 하나는 개발자들이 _Effects_ 관점(Effect가 무엇을 하는지)이 아니라 _컴포넌트의_ 관점(생명주기 같은)에서 Effects를 생각하기 때문이라고 생각합니다.
14271-
=======
14272-
We believe one of the reasons for confusion is that developers tend to think of Effects from the _component's_ perspective (like a lifecycle), instead of the _Effects_ point of view (what the Effect does).
14273-
>>>>>>> 46a54e0592729712b7640308b53268e84fdc7c9f
1427414270

1427514271
[문서의 예시](/learn/lifecycle-of-reactive-effects#thinking-from-the-effects-perspective)를 살펴보겠습니다:
1427614272

‎src/content/blog/index.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ title: React 블로그
1212

1313
<BlogCard title="React 재단: Linux 재단이 후원하는 React의 새로운 보금자리" date="2026년 2월 24일" url="/blog/2026/02/24/the-react-foundation">
1414

15-
The React Foundation has officially launched under the Linux Foundation.
15+
React 재단이 Linux 재단 산하에서 공식 출범했습니다.
1616

1717
</BlogCard>
1818

19-
<BlogCard title="Denial of Service and Source Code Exposure in React Server Components" date="December 11, 2025" url="/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components">
19+
<BlogCard title="React Server Components의 서비스 거부(DoS) 및 소스 코드 노출 취약점" date="2025년 12월 11일" url="/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components">
2020

21-
Security researchers have found and disclosed two additional vulnerabilities in React Server Components while attempting to exploit the patches in last week’s critical vulnerability...
21+
보안 연구원들이 지난주의 심각한 취약점 패치를 분석하던 중 React Server Components에서 두 가지 추가 취약점을 발견하여 공개했습니다...
2222

2323
</BlogCard>
2424

25-
<BlogCard title="Critical Security Vulnerability in React Server Components" date="December 3, 2025" url="/blog/2025/12/03/critical-security-vulnerability-in-react-server-components">
25+
<BlogCard title="React Server Components의 심각한 보안 취약점" date="2025년 12월 3일" url="/blog/2025/12/03/critical-security-vulnerability-in-react-server-components">
2626

27-
There is an unauthenticated remote code execution vulnerability in React Server Components. A fix has been published in versions 19.0.1, 19.1.2, and 19.2.1. We recommend upgrading immediately.
27+
React Server Components에서 인증되지 않은 원격 코드 실행 취약점이 발견되었습니다. 버전 19.0.1, 19.1.2, 19.2.1에 수정 사항이 배포되었습니다. 즉시 업그레이드하는 것을 권장합니다.
2828

2929
</BlogCard>
3030

@@ -52,9 +52,9 @@ React 19.2에는 Activity, React 성능 트랙, useEffectEvent 등의 새로운
5252

5353
</BlogCard>
5454

55-
<BlogCard title="React Labs: View Transitions, Activity, and more" date="April 23, 2025" url="/blog/2025/04/23/react-labs-view-transitions-activity-and-more">
55+
<BlogCard title="React Labs: 뷰 트랜지션, Activity 및 기타 업데이트" date="2025년 4월 23일" url="/blog/2025/04/23/react-labs-view-transitions-activity-and-more">
5656

57-
In React Labs posts, we write about projects in active research and development. In this post, we're sharing two new experimental features that are ready to try today, and sharing other areas we're working on now ...
57+
React Labs 게시글에서는 활발히 연구 개발 중인 프로젝트에 대해 다룹니다. 이 글에서는 지금 바로 사용해 볼 수 있는 두 가지 새로운 실험적 기능을 소개하고, 현재 작업 중인 다른 영역들을 공유합니다...
5858

5959
</BlogCard>
6060

@@ -70,9 +70,9 @@ React 19 업그레이드 가이드에서 React 19로 앱을 업그레이드하
7070

7171
</BlogCard>
7272

73-
<BlogCard title="React Compiler Beta Release" date="October 21, 2024" url="/blog/2024/10/21/react-compiler-beta-release">
73+
<BlogCard title="React 컴파일러 베타 릴리즈" date="2024년 10월 21일" url="/blog/2024/10/21/react-compiler-beta-release">
7474

75-
We announced an experimental release of React Compiler at React Conf 2024. We've made a lot of progress since then, and in this post we want to share what's next for React Compiler ...
75+
React Conf 2024에서 React 컴파일러의 실험적 릴리즈를 발표했습니다. 그 이후로 많은 진전이 있었으며, 이 글에서는 React 컴파일러의 향후 계획을 공유하고자 합니다...
7676

7777
</BlogCard>
7878

0 commit comments

Comments
 (0)