jwstegemann / fritz2

Easily build reactive web-apps in Kotlin based on flows and coroutines.
https://www.fritz2.dev
MIT License
636 stars 25 forks source link

Fix renderEach fast deleting Predecessors #797

Closed metin-kale closed 10 months ago

metin-kale commented 10 months ago

If using renderEach it was possible to remove elements from the DOM in such a "fast" manner, that the deleting algorithm chose the wrong item either from the same delete patch or from two different ones in a sequence.

This is now fixed and secured through some dedicated unit tests.