Skip to content

Commit 305926d

Browse files
committed
translate translate react compiler page
1 parent 2739c95 commit 305926d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/learn/react-compiler.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -339,11 +339,11 @@ Ayrıca üye olmak için başvurarak React Derleyici Çalışma Grubu'nda geri b
339339

340340
React Compiler kodunuzun olduğunu varsayar:
341341

342-
1. Is valid, semantic JavaScript.
343-
2. Tests that nullable/optional values and properties are defined before accessing them (for example, by enabling [`strictNullChecks`](https://www.typescriptlang.org/tsconfig/#strictNullChecks) if using TypeScript), i.e., `if (object.nullableProperty) { object.nullableProperty.foo }` or with optional-chaining `object.nullableProperty?.foo`.
344-
3. Follows the [Rules of React](https://react.dev/reference/rules).
342+
1. Geçerli, semantik JavaScript'tir.
343+
2. Nullable/opsiyonel değerlerin ve özelliklerin bunlara erişmeden önce tanımlandığını test eder (örneğin, TypeScript kullanılıyorsa [`strictNullChecks`](https://www.typescriptlang.org/tsconfig/#strictNullChecks) etkinleştirilerek), yani `if (object.nullableProperty) { object.nullableProperty.foo }` veya opsiyonel zincirleme `object.nullableProperty?.foo` ile.
344+
3. [React Kuralları](https://react.dev/reference/rules)'nı takip eder.
345345

346-
React Compiler can verify many of the Rules of React statically, and will safely skip compilation when it detects an error. To see the errors we recommend also installing [eslint-plugin-react-compiler](https://www.npmjs.com/package/eslint-plugin-react-compiler).
346+
React Derleyici, React'in birçok kuralını statik olarak doğrulayabilir ve bir hata tespit ettiğinde derlemeyi güvenli bir şekilde atlayacaktır. Hataları görmek için ayrıca [eslint-plugin-react-compiler](https://www.npmjs.com/package/eslint-plugin-react-compiler) yüklemenizi öneririz.
347347

348348
### How do I know my components have been optimized? {/*how-do-i-know-my-components-have-been-optimized*/}
349349

0 commit comments

Comments
 (0)