Skip to content

Commit a8d1768

Browse files
committed
wip
1 parent 1f719d8 commit a8d1768

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

src/content/reference/react-compiler/panicThreshold.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: panicThreshold
44

55
<Intro>
66

7-
The `panicThreshold` option controls how the React Compiler handles errors during compilation.
7+
`panicThreshold` 옵션은 React 컴파일러가 컴파일 중 오류를 처리하는 방식을 제어합니다.
88

99
</Intro>
1010

@@ -18,58 +18,58 @@ The `panicThreshold` option controls how the React Compiler handles errors durin
1818

1919
---
2020

21-
## Reference {/*reference*/}
21+
## 레퍼런스 {/*reference*/}
2222

2323
### `panicThreshold` {/*panicthreshold*/}
2424

25-
Determines whether compilation errors should fail the build or skip optimization.
25+
컴파일 오류가 빌드를 실패시켜야 하는지 아니면 최적화를 건너뛰어야 하는지를 결정합니다.
2626

27-
#### Type {/*type*/}
27+
#### 타입 {/*type*/}
2828

2929
```
3030
'none' | 'critical_errors' | 'all_errors'
3131
```
3232

33-
#### Default value {/*default-value*/}
33+
#### 기본값 {/*default-value*/}
3434

3535
`'none'`
3636

37-
#### Options {/*options*/}
37+
#### 옵션 {/*options*/}
3838

39-
- **`'none'`** (default, recommended): Skip components that can't be compiled and continue building
40-
- **`'critical_errors'`**: Fail the build only on critical compiler errors
41-
- **`'all_errors'`**: Fail the build on any compiler diagnostic
39+
- **`'none'`** (기본값, 권장): 컴파일할 수 없는 컴포넌트를 건너뛰고 빌드를 계속 진행합니다.
40+
- **`'critical_errors'`**: 치명적인 컴파일러 오류에서만 빌드를 실패시킵니다.
41+
- **`'all_errors'`**: 모든 컴파일러 진단에서 빌드를 실패시킵니다.
4242

43-
#### Caveats {/*caveats*/}
43+
#### 주의 사항 {/*caveats*/}
4444

45-
- Production builds should always use `'none'`
46-
- Build failures prevent your application from building
47-
- The compiler automatically detects and skips problematic code with `'none'`
48-
- Higher thresholds are only useful during development for debugging
45+
- 프로덕션 빌드에서는 항상 `'none'`을 사용해야 합니다.
46+
- 빌드 실패는 애플리케이션이 빌드되지 않도록 합니다.
47+
- 컴파일러는 `'none'`을 사용하면 문제가 있는 코드를 자동으로 감지하고 건너뜁니다.
48+
- 더 높은 임계값은 개발 중 디버깅에만 유용합니다.
4949

5050
---
5151

52-
## Usage {/*usage*/}
52+
## 사용법 {/*usage*/}
5353

54-
### Production configuration (recommended) {/*production-configuration*/}
54+
### 프로덕션 설정 (권장) {/*production-configuration*/}
5555

56-
For production builds, always use `'none'`. This is the default value:
56+
프로덕션 빌드에서는 항상 `'none'`을 사용하세요. 이것이 기본값입니다.
5757

5858
```js
5959
{
6060
panicThreshold: 'none'
6161
}
6262
```
6363

64-
This ensures:
65-
- Your build never fails due to compiler issues
66-
- Components that can't be optimized run normally
67-
- Maximum components get optimized
68-
- Stable production deployments
64+
이렇게 하면 다음을 보장합니다.
65+
- 컴파일러 문제로 인해 빌드가 실패하지 않습니다.
66+
- 최적화할 수 없는 컴포넌트도 정상적으로 실행됩니다.
67+
- 최대한 많은 컴포넌트가 최적화됩니다.
68+
- 안정적인 프로덕션 배포가 가능합니다.
6969

70-
### Development debugging {/*development-debugging*/}
70+
### 개발 중 디버깅 {/*development-debugging*/}
7171

72-
Temporarily use stricter thresholds to find issues:
72+
문제를 찾기 위해 일시적으로 더 엄격한 임계값을 사용합니다.
7373

7474
```js
7575
const isDevelopment = process.env.NODE_ENV === 'development';

0 commit comments

Comments
 (0)