Skip to content

Commit 9a4c0f8

Browse files
committed
Sync with react.dev @ 3ee3a60
1 parent b15a797 commit 9a4c0f8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/content/learn/preserving-and-resetting-state.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -689,11 +689,7 @@ label {
689689

690690
</Sandpack>
691691

692-
<<<<<<< HEAD
693-
Sayaç state'i kutucuğa tıkladığınız zaman sıfırlanır. `Counter` render etmenize rağmen, `div`'in ilk alt elemanı `div`'den `section`'a dönüşür. Alt eleman olan `div` DOM'dan kaldırıldığında, altındaki ağacın tamamı da (`Counter` ve state'i de dahil olmak üzere) yok edilir.
694-
=======
695-
The counter state gets reset when you click the checkbox. Although you render a `Counter`, the first child of the `div` changes from a `section` to a `div`. When the child `section` was removed from the DOM, the whole tree below it (including the `Counter` and its state) was destroyed as well.
696-
>>>>>>> 3ee3a60a1bcc687c0b87039a3a6582e3b1d6887c
692+
Onay kutusuna tıkladığınızda sayaç durumu sıfırlanır. Bir `Counter` oluşturmanıza rağmen, `div`in ilk alt eleman bir `section`dan bir `div`e dönüşür. Alt `section` DOM'dan kaldırıldığında, altındaki tüm ağaç (`Counter` ve state dahil) da yok edildi.
697693

698694
<DiagramGroup>
699695

0 commit comments

Comments
 (0)