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
-[Neden Bu Kadar Çok Mod Var?](#why-so-many-modes)
32
32
-[Özellik Karşılaştırması](#feature-comparison)
33
33
34
-
## Installation {#installation}
34
+
## Yükleme {#installation}
35
35
36
-
Concurrent Mode is only available in the [experimental builds](/blog/2019/10/22/react-release-channels.html#experimental-channel)of React. To install them, run:
36
+
Eşzamanlı mod sadece React'in [deneysel versiyonlarında](/blog/2019/10/22/react-release-channels.html#experimental-channel)bulunmaktadır. Onları yüklemek için, şu komutu çalıştırın:
**Deneysel versiyonlar için mantıksal versiyonlamanın garantisi yoktur.** Herhangi bir `@experimental` sürümde API'lar eklenebilir, değişebilir veya kaldırılabilir.
41
42
42
-
**There are no semantic versioning guarantees for the experimental builds.**
43
-
APIs may be added, changed, or removed with any `@experimental` release.
43
+
**Deneysel versiyonlar sıkça bozucu değişimler içerirler.**
44
44
45
-
**Experimental releases will have frequent breaking changes.**
45
+
Bu sürümleri kişisel projelerinizde veya bir branch üzerinde deneyebilirsiniz, ancak canlıda kullanılmasını tavsiye etmeyiz. Biz Facebook'ta onları canlıda *kullanıyoruz*, ama bunun nedeni eğer bir şey bozulursa bugları düzeltmek için bizim varolmamız. Sizi uyardık!
46
46
47
-
You can try these builds on personal projects or in a branch, but we don't recommend running them in production. At Facebook, we *do* run them in production, but that's because we're also there to fix bugs when something breaks. You've been warned!
47
+
### Bu Deneysel Sürüm Kimin İçin? {#who-is-this-experimental-release-for}
48
48
49
-
### Who Is This Experimental Release For? {#who-is-this-experimental-release-for}
49
+
Bu sürüm birincil olarak erken adapte edenler, kütüphane yazarları ve meraklı insanlar içindir.
50
50
51
-
This release is primarily aimed at early adopters, library authors, and curious people.
51
+
Biz bu kodu canlıda kullanıyoruz (ve işimizi görüyor) ancak hala kimi buglar, eksik özellikler ve dokümantasyonda boşluklar var. Gelecekte yayınlanacak olan kararlı sürüme daha iyi hazırlanabilmek için eşzamanlı modda nelerin çalışmadığı konusunda bilgiye toplamak istiyoruz.
52
52
53
-
We're using this code in production (and it works for us) but there are still some bugs, missing features, and gaps in the documentation. We'd like to hear more about what breaks in Concurrent Mode so we can better prepare it for an official stable release in the future.
53
+
### Eşzamanlı Modu Etkinleştirmek {#enabling-concurrent-mode}
Normalde React'e bir özellik eklediğimizde onu hemen kullanmaya başlayabilirsiniz. Fragment, Context ve hatta Hooks böyle özelliklere bir örnek. Bunları eski kodda herhangi bir değişiklik yapmadan yeni kodda kulanabilirsiniz.
56
56
57
-
Normally, when we add features to React, you can start using them immediately. Fragments, Context, and even Hooks are examples of such features. You can use them in new code without making any changes to the existing code.
57
+
Eşzamanlı mod ise farklı. React'in nasıl çalıştığı konusunda mantıksal değişiklikler ekliyor. Aksi takdirde onun etkinleştirdiği [yeni özellikler](/docs/concurrent-mode-patterns.html)*mümkün olamazdı*. Bu yüzden izole bir şekilde teker teker yayınlanmak yerine yeni bir "mod" altında gruplandırıldılar.
58
58
59
-
Concurrent Mode is different. It introduces semantic changes to how React works. Otherwise, the [new features](/docs/concurrent-mode-patterns.html) enabled by it *wouldn't be possible*. This is why they're grouped into a new "mode" rather than released one by one in isolation.
59
+
Eşzamanlı modu sadece belli alt ağaçlarda kullanamazsınız. Onun yerine bugün `ReactDOM.render()` metodunu çağırdığınız yerde kullanmanız gerekiyor.
60
60
61
-
You can't opt into Concurrent Mode on a per-subtree basis. Instead, to opt in, you have to do it in the place where today you call `ReactDOM.render()`.
62
-
63
-
**This will enable Concurrent Mode for the whole `<App />` tree:**
61
+
**Bu tüm `<App />` ağacı için eşzamanlı modu etkinleştirir:**
//kullanıyorduysanız, eşzamanlı modu şunu yazarak etkinleştirebilirsiniz:
73
71
74
72
ReactDOM.createRoot(
75
73
document.getElementById('root')
76
74
).render(<App />);
77
75
```
78
76
79
-
>Note:
77
+
>Not:
80
78
>
81
-
>Concurrent Mode APIs such as `createRoot`only exist in the experimental builds of React.
79
+
>`createRoot`gibi eşzamanlı mod APIları React'in sadece deneysel versiyonlarında bulunmaktadır.
82
80
83
-
In Concurrent Mode, the lifecycle methods [previously marked](/blog/2018/03/27/update-on-async-rendering.html)as "unsafe" actually *are* unsafe, and lead to bugs even more than in today's React. We don't recommend trying Concurrent Mode until your app is [Strict Mode](/docs/strict-mode.html)-compatible.
81
+
Eşzamanlı modda [daha önce](/blog/2018/03/27/update-on-async-rendering.html)"güvensiz" olarak işaretlenmiş yaşam döngüsü metotları bu sefer gerçekten *güvensizdir* ve bugünkü React'ten dahi daha çok hataya sebep olurlar. Uygulamanızın [Strict Mode](/docs/strict-mode.html) desteği olana dek eşzamanlı modu kullanmanızı önermiyoruz.
84
82
85
-
## What to Expect {#what-to-expect}
83
+
## Beklenmesi Gerekenler {#what-to-expect}
86
84
87
85
If you have a large existing app, or if your app depends on a lot of third-party packages, please don't expect that you can use the Concurrent Mode immediately. **For example, at Facebook we are using Concurrent Mode for the new website, but we're not planning to enable it on the old website.** This is because our old website still uses unsafe lifecycle methods in the product code, incompatible third-party libraries, and patterns that don't work well with the Concurrent Mode.
0 commit comments