Skip to content

Commit a609592

Browse files
authored
Merge branch 'main' into docs-update-react-compiler
2 parents 9926f44 + faf2121 commit a609592

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed
Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Configuration
2+
title: 설정
33
---
44

55
<Intro>
66

7-
This page lists all configuration options available in React Compiler.
7+
이 페이지에서는 React Compiler에서 사용할 수 있는 모든 설정 옵션을 나열합니다.
88

99
</Intro>
1010

1111
<Note>
1212

13-
For most apps, the default options should work out of the box. If you have a special need, you can use these advanced options.
13+
대부분의 앱에서는 기본 옵션이 기본적으로 잘 작동합니다. 특별한 필요가 있다면 이러한 고급 옵션을 사용할 수 있습니다.
1414

1515
</Note>
1616

@@ -29,55 +29,55 @@ module.exports = {
2929

3030
---
3131

32-
## Compilation Control {/*compilation-control*/}
32+
## 컴파일 제어 {/*compilation-control*/}
3333

34-
These options control *what* the compiler optimizes and *how* it selects components and hooks to compile.
34+
이 옵션들은 컴파일러가 *무엇*을 최적화하고, *어떻게* 컴포넌트와 hooks를 컴파일 대상으로 선택할지를 제어합니다.
3535

36-
* [`compilationMode`](/reference/react-compiler/compilationMode) controls the strategy for selecting functions to compile (e.g., all functions, only annotated ones, or intelligent detection).
36+
* [`compilationMode`](/reference/react-compiler/compilationMode)는 컴파일할 함수를 선택하는 전략을 제어합니다. (예: 모든 함수, 어노테이션된 함수만, 또는 컴파일러의 자동 감지).
3737

3838
```js
3939
{
40-
compilationMode: 'annotation' // Only compile "use memo" functions
40+
compilationMode: 'annotation' // "use memo"가 명시된 함수만 컴파일합니다.
4141
}
4242
```
4343

4444
---
4545

46-
## Version Compatibility {/*version-compatibility*/}
46+
## 버전 호환성 {/*version-compatibility*/}
4747

48-
React version configuration ensures the compiler generates code compatible with your React version.
48+
React 버전 설정은 컴파일러가 현재 사용 중인 React 버전과 호환되는 코드를 생성하도록 합니다.
4949

50-
[`target`](/reference/react-compiler/target) specifies which React version you're using (17, 18, or 19).
50+
[`target`](/reference/react-compiler/target)은 현재 사용 중인 React 버전(17, 18, 또는 19)을 지정합니다.
5151

5252
```js
53-
// For React 18 projects
53+
// React 18을 사용하는 프로젝트의 경우
5454
{
55-
target: '18' // Also requires react-compiler-runtime package
55+
target: '18' // react-compiler-runtime 패키지가 필요합니다.
5656
}
5757
```
5858

5959
---
6060

61-
## Error Handling {/*error-handling*/}
61+
## 에러 처리 {/*error-handling*/}
6262

63-
These options control how the compiler responds to code that doesn't follow the [Rules of React](/reference/rules).
63+
이 옵션들은 [React의 규칙](/reference/rules)을 따르지 않는 코드에 대해 컴파일러가 어떻게 대응하는지를 제어합니다.
6464

65-
[`panicThreshold`](/reference/react-compiler/panicThreshold) determines whether to fail the build or skip problematic components.
65+
[`panicThreshold`](/reference/react-compiler/panicThreshold)는 빌드를 실패로 처리할지, 문제가 있는 컴포넌트를 건너뛸지를 결정합니다.
6666

6767
```js
68-
// Recommended for production
68+
// 프로덕션 환경에 권장
6969
{
70-
panicThreshold: 'none' // Skip components with errors instead of failing the build
70+
panicThreshold: 'none' // 빌드를 실패시키는 대신 오류가 있는 컴포넌트를 건너뜁니다.
7171
}
7272
```
7373

7474
---
7575

76-
## Debugging {/*debugging*/}
76+
## 디버깅 {/*debugging*/}
7777

78-
Logging and analysis options help you understand what the compiler is doing.
78+
로깅 및 분석 옵션은 컴파일러의 동작을 이해하는 데 도움을 줍니다.
7979

80-
[`logger`](/reference/react-compiler/logger) provides custom logging for compilation events.
80+
[`logger`](/reference/react-compiler/logger)는 컴파일 이벤트에 대한 커스텀 로깅을 제공합니다.
8181

8282
```js
8383
{
@@ -93,11 +93,11 @@ Logging and analysis options help you understand what the compiler is doing.
9393

9494
---
9595

96-
## Feature Flags {/*feature-flags*/}
96+
## 기능 플래그 {/*feature-flags*/}
9797

98-
Conditional compilation lets you control when optimized code is used.
98+
조건부 컴파일을 사용하면 최적화된 코드가 언제 사용될지를 제어할 수 있습니다.
9999

100-
[`gating`](/reference/react-compiler/gating) enables runtime feature flags for A/B testing or gradual rollouts.
100+
[`gating`](/reference/react-compiler/gating)은 A/B 테스트나 점진적 배포를 위한 런타임 기능 플래그를 활성화합니다.
101101

102102
```js
103103
{
@@ -110,11 +110,11 @@ Conditional compilation lets you control when optimized code is used.
110110

111111
---
112112

113-
## Common Configuration Patterns {/*common-patterns*/}
113+
## 공통 설정 패턴 {/*common-patterns*/}
114114

115-
### Default configuration {/*default-configuration*/}
115+
### 기본 설정 {/*default-configuration*/}
116116

117-
For most React 19 applications, the compiler works without configuration:
117+
대부분의 React 19 애플리케이션에서는 별도의 설정 없이도 컴파일러가 정상적으로 동작합니다.
118118

119119
```js
120120
// babel.config.js
@@ -125,9 +125,9 @@ module.exports = {
125125
};
126126
```
127127

128-
### React 17/18 projects {/*react-17-18*/}
128+
### React 17/18 프로젝트 {/*react-17-18*/}
129129

130-
Older React versions need the runtime package and target configuration:
130+
React 17/18 프로젝트에서는 런타임 패키지와 target 설정이 필요합니다.
131131

132132
```bash
133133
npm install react-compiler-runtime@latest
@@ -139,13 +139,13 @@ npm install react-compiler-runtime@latest
139139
}
140140
```
141141

142-
### Incremental adoption {/*incremental-adoption*/}
142+
### 점진적 적용 {/*incremental-adoption*/}
143143

144-
Start with specific directories and expand gradually:
144+
특정 디렉토리부터 시작해 점진적으로 확장할 수 있습니다.
145145

146146
```js
147147
{
148-
compilationMode: 'annotation' // Only compile "use memo" functions
148+
compilationMode: 'annotation' // "use memo"가 명시된 함수만 컴파일합니다.
149149
}
150150
```
151151

src/sidebarReference.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@
353353
"sectionHeader": "React Compiler"
354354
},
355355
{
356-
"title": "Configuration",
356+
"title": "설정",
357357
"path": "/reference/react-compiler/configuration",
358358
"routes": [
359359
{

0 commit comments

Comments
 (0)