Translate Using Typescript Page by halilxibrahim · Pull Request #566 · reactjs/tr.react.dev
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tesekkurler. Iyilestirilebilecek yerleri belirttim. Tekrar uzerinden gecerseniz sonra merge edebiliriz.
| @@ -1,57 +1,58 @@ | |||
| --- | |||
| title: Using TypeScript | |||
| title: TypeScript'i kullanma | |||
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kullanma -> Kullanmak (ilk harfi de buyutelim. tutarli olsun)
| <Intro> | ||
|
|
||
| TypeScript is a popular way to add type definitions to JavaScript codebases. Out of the box, TypeScript [supports JSX](/learn/writing-markup-with-jsx) and you can get full React Web support by adding [`@types/react`](https://www.npmjs.com/package/@types/react) and [`@types/react-dom`](https://www.npmjs.com/package/@types/react-dom) to your project. | ||
| TypeScript, JavaScript kod tabanlarına tür tanımları eklemenin popüler bir yoludur. TypeScript,kullanıma hazır olarak [JSX'i](/learn/writing-markup-with-jsx) destekler ve projenize [`@types/react`](https://www.npmjs.com/package/@types/react) ve [`@types/react-dom`](https://www.npmjs.com/package/@types/react-dom) ekleyerek tam React Web desteği alabilirsiniz. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
burada ve cevirinin geri kalaninda tür yerine tipi tercih edelim. Tur meslekte cok kullanilan bi kelime degil. Hatta ben hic duymadim. genelde tip, tipleri, tipleri yazalim vs denir.
| * [Common types from `@types/react`](/learn/typescript/#useful-types) | ||
| * [Further learning locations](/learn/typescript/#further-learning) | ||
| * [React Bileşenleri ile TypeScript](/learn/typescript#typescript-with-react-components) | ||
| * [Hooks ile Tür Belirlemenin Örnekleri](/learn/typescript#example-hooks) |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hook'larda tip kullanımına örnekler gibi bi ceviri daha iyi olabilir.
| * [React Bileşenleri ile TypeScript](/learn/typescript#typescript-with-react-components) | ||
| * [Hooks ile Tür Belirlemenin Örnekleri](/learn/typescript#example-hooks) | ||
| * [`@types/react`dan Yaygın Türler](/learn/typescript/#useful-types) | ||
| * [ İleri Düzey Öğrenme Kaynakları](/learn/typescript/#further-learning) |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Buradaki further ileri duzeyden ziyade sonrasi icin, ek, ilave gibi bir anlamda. Bi kac oneri aklima gelen:
- Ek Kaynaklar
- Bundan sonrasi icin kaynaklar
- Ilerisi icin kaynaklar
gibi.
| </Note> | ||
|
|
||
| Writing TypeScript with React is very similar to writing JavaScript with React. The key difference when working with a component is that you can provide types for your component's props. These types can be used for correctness checking and providing inline documentation in editors. | ||
| React ile TypeScript yazmak, React ile JavaScript yazmaya çok benzer. Bir bileşenle çalışırken ana fark, bileşenin props’ları için türler sağlayabilmenizdir. Bu türler, doğruluk kontrolü yapmak ve editörlerde yerinde dokümantasyon sağlamak için kullanılabilir |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yerinde dokumantasyon yerine satir-ici dokumantasyon daha dogru olabilir.
| <Note> | ||
|
|
||
| These sandboxes can handle TypeScript code, but they do not run the type-checker. This means you can amend the TypeScript sandboxes to learn, but you won't get any type errors or warnings. To get type-checking, you can use the [TypeScript Playground](https://www.typescriptlang.org/play) or use a more fully-featured online sandbox. | ||
| Bu sandboxes TypeScript kodunu çalıştırabilir, ancak tür denetleyicisini çalıştırmaz. Bu, TypeScript sandboxes öğrenmek için değiştirebileceğiniz, ancak tür hataları veya uyarıları almayacağınız anlamına gelir. Tür denetimi almak için [TypeScript Playground](https://www.typescriptlang.org/play) kullanabilir veya daha tam özellikli bir çevrimiçi sandbox kullanabilirsiniz. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sandboxes -> sandboxlar
| </Note> | ||
|
|
||
| This inline syntax is the simplest way to provide types for a component, though once you start to have a few fields to describe it can become unwieldy. Instead, you can use an `interface` or `type` to describe the component's props: | ||
| Bu yerinde sözdizimi, bir bileşen için türler sağlamanın en basit yoludur; ancak birkaç alan tanımlamaya başladığınızda karmaşık hale gelebilir. Bunun yerine, bileşenin props’larını tanımlamak için bir `interface` veya `type` kullanabilirsiniz: |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yerinde -> satirici
props'larini -> prop'larini
baska yerlerde de var bu kullanimlar. hepsini guncelleyebiliriz
| ## Further learning {/*further-learning*/} | ||
| ## Daha Fazla Öğrenme {/*further-learning*/} | ||
|
|
||
| Bu rehber, TypeScript’i React ile kullanmanın temellerini kapsadı, ancak öğrenilecek daha çok şey var. Dokümanlardaki bireysel API sayfaları, TypeScript ile nasıl kullanılacağına dair daha derinlemesine belgeler içerebilir. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bu rehberde TypeScript'i React ile kullanmanın temelleri ele alındı daha bir ceviri olabilir.
|
|
||
| This guide has covered the basics of using TypeScript with React, but there is a lot more to learn. | ||
| Individual API pages on the docs may contain more in-depth documentation on how to use them with TypeScript. | ||
| - [TypeScript el kitabu](https://www.typescriptlang.org/docs/handbook/) TypeScript için resmi belgelerdir ve çoğu ana dil özelliğini kapsar. |
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- typo
u->i. kapsar->ele alirya dadeginir. daha iyi olabilir.