Skip to content

Commit 3b29c13

Browse files
committed
translate what-to-expect
1 parent 1d13ec0 commit 3b29c13

File tree

1 file changed

+26
-25
lines changed

1 file changed

+26
-25
lines changed

content/docs/concurrent-mode-adoption.md

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ next: concurrent-mode-reference.html
2727
- [Bu Deneysel Sürüm Kimin İçin?](#who-is-this-experimental-release-for)
2828
- [Eşzamanlı Modu Etkinleştirmek](#enabling-concurrent-mode)
2929
- [Beklenmesi Gerekenler](#what-to-expect)
30-
- [Göç Adımı: Engelleme Modu](#migration-step-blocking-mode)
30+
- [Migrasyon Adımı: Engelleme Modu](#migration-step-blocking-mode)
3131
- [Neden Bu Kadar Çok Mod Var?](#why-so-many-modes)
3232
- [Özellik Karşılaştırması](#feature-comparison)
3333

@@ -82,29 +82,30 @@ Eşzamanlı modda [daha önce](/blog/2018/03/27/update-on-async-rendering.html)
8282

8383
## Beklenmesi Gerekenler {#what-to-expect}
8484

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.
85+
Eğer büyük bir uygulamanız varsa veya uygulamanızın çok fazla üçüncü parti paketlere bağımlılığı varsa, lütfen eşzamanlı modu anında kullanabileceğiziniz düşünmeyin. **Örneğin biz Facebook'ta eşzamanlı modu yeni sitede kullanıyoruz ama eski sitede kullanmayı planlamıyoruz.** Bunun nedeni, eski sitemizin hala güvensiz yaşam döngüsü metotlarını, uyumsuz üçüncü parti kütüphanelerini ve eşzamanlı modla çok iyi çalışmayan desenleri canlı kodda kullanıyor olması.
8686

87-
In our experience, code that uses idiomatic React patterns and doesn't rely on external state management solutions is the easiest to get running in the Concurrent Mode. We will describe common problems we've seen and the solutions to them separately in the coming weeks.
87+
Bizim tecrübemiz, deyimsel React desenlerini kullanan ve harici state yönetimi çözümlerine bel bağlamayan kodun eşzamanlı modu çalıştırmada en kolay olduğu yönünde. Gördüğümüz ortak sorunları ve onların çözümlerini önümüzdeki haftalarda ayrıca anlatacağız.
8888

89-
### Migration Step: Blocking Mode {#migration-step-blocking-mode}
89+
### Migrasyon Adımı: Engelleme Modu {#migration-step-blocking-mode}
9090

91-
For older codebases, Concurrent Mode might be a step too far. This is why we also provide a new "Blocking Mode" in the experimental React builds. You can try it by substituting `createRoot` with `createBlockingRoot`. It only offers a *small subset* of the Concurrent Mode features, but it is closer to how React works today and can serve as a migration step.
91+
Eski kodlar için eşzamanlı mod biraz ileri gidiyor olabilir. Bu yüzden de deneysel React versiyonunda yeni "engelleme modu"nu sunuyoruz. `createRoot` yerine `createBlockingRoot` deneyebilirsiniz. Bu, eşzamanlı mod özelliklerinin sadece *küçük bir kısmını* sunar, ama React'in bugünkü çalışmasına yakındır ve bir migrasyon adımı olarak kullanılabilir.
9292

93-
To recap:
93+
Toplamak gerekirse:
9494

95-
* **Legacy Mode:** `ReactDOM.render(<App />, rootNode)`. This is what React apps use today. There are no plans to remove the legacy mode in the observable future — but it won't be able to support these new features.
96-
* **Blocking Mode:** `ReactDOM.createBlockingRoot(rootNode).render(<App />)`. It is currently experimental. It is intended as a first migration step for apps that want to get a subset of Concurrent Mode features.
97-
* **Concurrent Mode:** `ReactDOM.createRoot(rootNode).render(<App />)`. It is currently experimental. In the future, after it stabilizes, we intend to make it the default React mode. This mode enables *all* the new features.
95+
* **Miras modu:** `ReactDOM.render(<App />, rootNode)`. Bu, React uygulamalarının bugün kullandığı moddur. Gözlemlenebilir gelecekte miras modunu kaldırma planı yok - ama bu yeni özellikler de bu modla kullanılamayacak.
96+
* **Engelleme Modu:** `ReactDOM.createBlockingRoot(rootNode).render(<App />)`. Bu, şu anda deneysel. Eşzamanlı modun özelliklerinin bir alt kümesini kullanmak isteyen uygulamalar için bir migrasyon adımı olarak düşünüldü.
97+
* **Eşzamanlı mod:** `ReactDOM.createRoot(rootNode).render(<App />)`.
98+
Bu, şu anda deneysel. Gelecekte, kararlılığa ulaştıktan sonra onu öntanımlı React modu yapmayı istiyoruz. Bu, yeni özelliklerin *tamamını* etkinleştiriyor.
9899

99-
### Why So Many Modes? {#why-so-many-modes}
100+
### Neden Bu Kadar Çok Mod Var? {#why-so-many-modes}
100101

101-
We think it is better to offer a [gradual migration strategy](/docs/faq-versioning.html#commitment-to-stability) than to make huge breaking changes — or to let React stagnate into irrelevance.
102+
Biz, çok büyük ve bozucu değişiklikler yapmak yerine [kademeli migrasyon stratejisi](/docs/faq-versioning.html#commitment-to-stability) sunmanın - veya React'in gereksizliğe doğru durulmasının - daha iyi olduğunu düşünüyoruz.
102103

103-
In practice, we expect that most apps using Legacy Mode today should be able to migrate at least to the Blocking Mode (if not Concurrent Mode). This fragmentation can be annoying for libraries that aim to support all Modes in the short term. However, gradually moving the ecosystem away from the Legacy Mode will also *solve* problems that affect major libraries in the React ecosystem, such as [confusing Suspense behavior when reading layout](https://github.com/facebook/react/issues/14536) and [lack of consistent batching guarantees](https://github.com/facebook/react/issues/15080). There's a number of bugs that can't be fixed in Legacy Mode without changing semantics, but don't exist in Blocking and Concurrent Modes.
104+
Pratikte miras modunu kullanan uygulamaların çoğunun en azından engelleme moduna (hatta eşzamanlı moda) migrasyonu mümkün olmalı. Bu parçalanma, tüm modları desteklemeyi hedefleyen kütüphaneler için kısa vadede can sıkıcı olabilir. Ancak, ekosistemi miras modundan kademeli olarak uzaklaşmak aynı zamanda React ekosistemindeki büyük kütüphaneleri etkileyen [layoutu okurken kafa karıştıran Suspense davranışı](https://github.com/facebook/react/issues/14536) ve [tutarlı harmanlama garantisinin olmayışı](https://github.com/facebook/react/issues/15080) gibi sorunları da *çözecektir*. Miras modunda bulunan kimi hatalar mantıksal değişiklikler yapılmadan çözülemiyor ama engelleme modunda ve eşzamanlı modda bulunmuyor.
104105

105-
You can think of the Blocking Mode as a "gracefully degraded" version of the Concurrent Mode. **As a result, in longer term we should be able to converge and stop thinking about different Modes altogether.** But for now, Modes are an important migration strategy. They let everyone decide when a migration is worth it, and upgrade at their own pace.
106+
Engelleme modunu, eşzamanlı modun "zarifçe indirgenmiş" bir versiyonu olarak düşünebilirsiniz. **Sonuç olarak, uzun vadede birleştirebileceğiz ve farklı modları düşünmeyi komple bırakabileceğız.** Ama şimdilik modlar önemli bir migrasyon stratejisi. Migrasyonun değip değmeyeceğine herkesin kendinin karar vermesine ve kendi hızlarıyla yükseltmelerine izin veriyorlar.
106107

107-
### Feature Comparison {#feature-comparison}
108+
### Özellik Karşılaştırması {#feature-comparison}
108109

109110
<style>
110111
#feature-table table { border-collapse: collapse; }
@@ -114,26 +115,26 @@ You can think of the Blocking Mode as a "gracefully degraded" version of the Con
114115

115116
<div id="feature-table">
116117

117-
| |Legacy Mode |Blocking Mode |Concurrent Mode |
118+
| |Miras modu |Engelleme modu |Eşzamanlı mod |
118119
|--- |--- |--- |--- |
119-
|[String Refs](/docs/refs-and-the-dom.html#legacy-api-string-refs) ||🚫** |🚫** |
120-
|[Legacy Context](/docs/legacy-context.html) ||🚫** |🚫** |
120+
|[String referansları](/docs/refs-and-the-dom.html#legacy-api-string-refs) ||🚫** |🚫** |
121+
|[Miras Contexti](/docs/legacy-context.html) ||🚫** |🚫** |
121122
|[findDOMNode](/docs/strict-mode.html#warning-about-deprecated-finddomnode-usage) ||🚫** |🚫** |
122123
|[Suspense](/docs/concurrent-mode-suspense.html#what-is-suspense-exactly) ||||
123124
|[SuspenseList](/docs/concurrent-mode-patterns.html#suspenselist) |🚫 |||
124125
|Suspense SSR + Hydration |🚫 |||
125-
|Progressive Hydration |🚫 |||
126-
|Selective Hydration |🚫 |🚫 ||
127-
|Cooperative Multitasking |🚫 |🚫 ||
128-
|Automatic batching of multiple setStates    |🚫* |||
129-
|[Priority-based Rendering](/docs/concurrent-mode-patterns.html#splitting-high-and-low-priority-state) |🚫 |🚫 ||
130-
|[Interruptible Prerendering](/docs/concurrent-mode-intro.html#interruptible-rendering) |🚫 |🚫 ||
126+
|Kademeli Hydration |🚫 |||
127+
|Seçili Hydration |🚫 |🚫 ||
128+
|İşbirlikli Çoklugörev |🚫 |🚫 ||
129+
|Çoklu setStates'in otomatik olarak gruplanması    |🚫* |||
130+
|[Öncelik tabanlı Rendering](/docs/concurrent-mode-patterns.html#splitting-high-and-low-priority-state) |🚫 |🚫 ||
131+
|[Ara verilebilir Prerendering](/docs/concurrent-mode-intro.html#interruptible-rendering) |🚫 |🚫 ||
131132
|[useTransition](/docs/concurrent-mode-patterns.html#transitions) |🚫 |🚫 ||
132133
|[useDeferredValue](/docs/concurrent-mode-patterns.html#deferring-a-value) |🚫 |🚫 ||
133134
|[Suspense Reveal "Train"](/docs/concurrent-mode-patterns.html#suspense-reveal-train) |🚫 |🚫 ||
134135

135136
</div>
136137

137-
\*: Legacy mode has automatic batching in React-managed events but it's limited to one browser task. Non-React events must opt-in using `unstable_batchedUpdates`. In Blocking Mode and Concurrent Mode, all `setState`s are batched by default.
138+
\*: Miras modunun React tarafından yönetilen eventlerde otomatik kümelemesi var ama sadece tek tarayıcı göreviyle sınırlı. React dışı eventler `unstable_batchedUpdates` kullanarak katılmak zorunda. Engelleme modunda ve eşzamanlı modda tüm `setState`ler öntanımlı olarak kümeleniyor.
138139

139-
\*\*: Warns in development.
140+
\*\*: Geliştirmede uyarı verir.

0 commit comments

Comments
 (0)