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
### 2. Configure the target version {/*configure-target-version*/}
62
+
### 2. `target` 버전 설정하기 {/*configure-target-version*/}
63
63
64
-
Set the minimum React version your library supports:
64
+
라이브러리가 지원하는 최소 React 버전을 설정하세요.
65
65
66
66
```js
67
67
{
68
-
target:'17', //Minimum supported React version
68
+
target:'17', //지원하는 최소 React 버전
69
69
}
70
70
```
71
71
72
-
## Testing Strategy {/*testing-strategy*/}
72
+
## 테스트 전략 {/*testing-strategy*/}
73
73
74
-
Test your library both with and without compilation to ensure compatibility. Run your existing test suite against the compiled code, and also create a separate test configuration that bypasses the compiler. This helps catch any issues that might arise from the compilation process and ensures your library works correctly in all scenarios.
74
+
호환성을 보장하기 위해 컴파일 유무에 관계없이 라이브러리를 테스트하세요. 컴파일된 코드에 대해 기존 테스트를 실행하고 컴파일러를 우회하는 별도의 테스트 설정도 만드세요. 이렇게 하면 컴파일 과정에서 발생할 수 있는 문제를 발견하고 모든 시나리오에서 라이브러리가 올바르게 작동하는지 확인할 수 있습니다.
75
75
76
-
## Troubleshooting {/*troubleshooting*/}
76
+
## 문제 해결 {/*troubleshooting*/}
77
77
78
-
### Library doesn't work with older React versions {/*library-doesnt-work-with-older-react-versions*/}
78
+
### 라이브러리가 이전 React 버전에서 작동하지 않는 경우 {/*library-doesnt-work-with-older-react-versions*/}
79
79
80
-
If your compiled library throws errors in React 17 or 18:
80
+
컴파일된 라이브러리가 React 17 또는 18에서 오류를 발생시키는 경우입니다.
81
81
82
-
1.Verify you've installed `react-compiler-runtime` as a dependency
83
-
2.Check that your `target`configuration matches your minimum supported React version
84
-
3.Ensure the runtime package is included in your published bundle
82
+
1.`react-compiler-runtime`이 의존성으로 설치되어 있는지 확인하세요.
83
+
2.`target`설정이 지원하는 최소 React 버전과 일치하는지 확인하세요.
84
+
3.런타임 패키지가 배포된 번들에 포함되어 있는지 확인하세요.
85
85
86
-
### Compilation conflicts with other Babel plugins {/*compilation-conflicts-with-other-babel-plugins*/}
86
+
### 다른 Babel 플러그인과의 컴파일 충돌 {/*compilation-conflicts-with-other-babel-plugins*/}
87
87
88
-
Some Babel plugins may conflict with React Compiler:
88
+
일부 Babel 플러그인은 React 컴파일러와 충돌할 수 있습니다.
89
89
90
-
1.Place `babel-plugin-react-compiler` early in your plugin list
91
-
2.Disable conflicting optimizations in other plugins
0 commit comments