Skip to content

Commit b15a797

Browse files
merging all conflicts
2 parents 8379f6c + 3ee3a60 commit b15a797

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,11 @@ label {
689689

690690
</Sandpack>
691691

692+
<<<<<<< HEAD
692693
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
693697
694698
<DiagramGroup>
695699

0 commit comments

Comments
 (0)