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
Call `unmountComponentAtNode`to remove a mounted React component from the DOM and clean up its event handlers and state.
31
+
`unmountComponentAtNode`fonksiyonunu kullanarak, monte edilmiş bir React bileşenini DOM'dan kaldırabilir ve olay yöneticilerini ve state'i temizleyebilirsiniz.
[Aşağıda daha fazla örnek görebilirsiniz.](#usage)
43
43
44
-
#### Parameters {/*parameters*/}
44
+
#### Parametreler {/*parameters*/}
45
45
46
-
*`domNode`: A[DOM element.](https://developer.mozilla.org/en-US/docs/Web/API/Element) React will remove a mounted React component from this element.
46
+
*`domNode`: Bir[DOM elemanı.](https://developer.mozilla.org/en-US/docs/Web/API/Element) React, monte edilmiş bir React bileşenini bu elemandan kaldıracaktır.
47
47
48
-
#### Returns {/*returns*/}
48
+
#### Geri Dönüş Değeri {/*returns*/}
49
49
50
-
`unmountComponentAtNode` returns `true`if a component was unmounted and `false`otherwise.
50
+
`unmountComponentAtNode`, bir bileşen kaldırıldıysa `true`döner, aksi takdirde `false`döner.
51
51
52
52
---
53
53
54
-
## Usage {/*usage*/}
54
+
## Kullanım {/*usage*/}
55
55
56
-
Call `unmountComponentAtNode` to remove a <CodeStepstep={1}>mounted React component</CodeStep> from a <CodeStepstep={2}>browser DOM node</CodeStep> and clean up its event handlers and state.
56
+
<CodeStepstep={1}>Monte edilmiş bir React bileşenini</CodeStep> bir <CodeStepstep={2}>tarayıcı DOM öğesinden</CodeStep> kaldırmak ve olay yöneticilerini ile state'i temizlemek için `unmountComponentAtNode` fonksiyonunu çağırın.
### DOM elemanından bir React uygulaması kaldırmak {/*removing-a-react-app-from-a-dom-element*/}
69
70
70
-
### Removing a React app from a DOM element {/*removing-a-react-app-from-a-dom-element*/}
71
+
Bazen mevcut bir sayfaya veya tamamen React ile yazılmamış bir sayfaya React'i "serpmek" isteyebilirsiniz. Bunun gibi durumlarda, React uygulamalarını, bütün UI, state ve listener'ları render oldukları DOM öğesinden kaldırarak, React uygulamanızı "durdurmak" isteyebilirsiniz.
71
72
72
-
Occasionally, you may want to "sprinkle" React on an existing page, or a page that is not fully written in React. In those cases, you may need to "stop" the React app, by removing all of the UI, state, and listeners from the DOM node it was rendered to.
73
-
74
-
In this example, clicking "Render React App" will render a React app. Click "Unmount React App" to destroy it:
73
+
Bu örnekte "Render React App" butonuna basmak React uygulamasını render edecektir. Yok etmek için "Unmout React App" düğmesine tıklayabilirsiniz.
0 commit comments