|
1 | 1 | ---
|
2 | 2 | id: faq-internals
|
3 |
| -title: Virtual DOM and Internals |
| 3 | +title: Virtual DOM ve İç Dinamikler |
4 | 4 | permalink: docs/faq-internals.html
|
5 | 5 | layout: docs
|
6 | 6 | category: FAQ
|
7 | 7 | ---
|
8 | 8 |
|
9 |
| -### What is the Virtual DOM? {#what-is-the-virtual-dom} |
| 9 | +### Virtual DOM nedir? {#what-is-the-virtual-dom} |
10 | 10 |
|
11 |
| -The virtual DOM (VDOM) is a programming concept where an ideal, or "virtual", representation of a UI is kept in memory and synced with the "real" DOM by a library such as ReactDOM. This process is called [reconciliation](/docs/reconciliation.html). |
| 11 | +Virtual DOM (VDOM), bir UI'ın ideal veya "sanal" bir temsilinin bellekte tutulduğu ve ReactDOM gibi bir kütüphane tarafından "gerçek" DOM ile senkronize edildiği bir programlama konseptidir. Bu sürece [uyumlaştırma](/docs/reconciliation.html) denir. |
12 | 12 |
|
13 |
| -This approach enables the declarative API of React: You tell React what state you want the UI to be in, and it makes sure the DOM matches that state. This abstracts out the attribute manipulation, event handling, and manual DOM updating that you would otherwise have to use to build your app. |
| 13 | +Bu yaklaşım, bildirimsel React API'sini etkinleştirir: React'e UI'ın hangi state'te olmasını istediğinizi söylersiniz ve DOM'ın bu durumla eşleştiğinden emin olur. Bu, uygulamanızı oluşturmak için kullanmak zorunda kalacağınız özellik manipülasyonu, olay yönetimi ve manuel DOM güncellemesini özetler. |
14 | 14 |
|
15 |
| -Since "virtual DOM" is more of a pattern than a specific technology, people sometimes say it to mean different things. In React world, the term "virtual DOM" is usually associated with [React elements](/docs/rendering-elements.html) since they are the objects representing the user interface. React, however, also uses internal objects called "fibers" to hold additional information about the component tree. They may also be considered a part of "virtual DOM" implementation in React. |
| 15 | +"Virtual DOM" belirli bir teknolojiden daha ziyade bir kalıp olduğundan, insanlar bazen farklı şeyler ifade ettiğini söylüyor. React dünyasında, "virtual DOM" terimi genellikle [React elemanları](/docs/rendering-elements.html) ile ilişkilendirilir, çünkü bunlar kullanıcı arayüzünü temsil eden nesnelerdir. Bununla birlikte, React, bileşen ağacı hakkında ek bilgi tutmak için "fibers" adı verilen dahili nesneleri de kullanır. Ayrıca React'teki "virtual DOM" uygulamasının bir parçası olarak da düşünülebilirler. |
16 | 16 |
|
17 |
| -### Is the Shadow DOM the same as the Virtual DOM? {#is-the-shadow-dom-the-same-as-the-virtual-dom} |
| 17 | +### Shadow DOM, Virtual DOM ile aynı mı? {#is-the-shadow-dom-the-same-as-the-virtual-dom} |
18 | 18 |
|
19 |
| -No, they are different. The Shadow DOM is a browser technology designed primarily for scoping variables and CSS in web components. The virtual DOM is a concept implemented by libraries in JavaScript on top of browser APIs. |
| 19 | +Hayır, farklılar. Shadow DOM, öncelikle web bileşenlerindeki değişkenleri ve CSS'i kapsamak için tasarlanmış bir tarayıcı teknolojisidir. Virtual DOM, JavaScript’teki kütüphaneler tarafından tarayıcı API’ları üzerine uygulanan bir kavramdır. |
20 | 20 |
|
21 |
| -### What is "React Fiber"? {#what-is-react-fiber} |
| 21 | +### "React Fiber" nedir? {#what-is-react-fiber} |
22 | 22 |
|
23 | 23 | Fiber is the new reconciliation engine in React 16. Its main goal is to enable incremental rendering of the virtual DOM. [Read more](https://github.com/acdlite/react-fiber-architecture).
|
| 24 | + |
| 25 | +Fiber, React 16'daki yeni uyumlaştırma motorudur. Ana hedefi, virtual DOM'ın artımlı render edilmesini sağlamaktır. [Devamını okuyun](https://github.com/acdlite/react-fiber-architecture). |
0 commit comments