spxbhuhb / adaptive

Consolidated full-stack application development library for Kotlin
https://adaptive.fun
Apache License 2.0
3 stars 0 forks source link

Actual remove batch and slot history conflict #46

Closed toth-istvan-zoltan closed 1 month ago

toth-istvan-zoltan commented 4 months ago

Slot history stores fragments in unmounted state.

However, unmount uses actualBatchOwner to optimise the removal of actual UI elements.

This leads to a conflict because some actual UI instances deeper in the tree are not actually removed from their parents, so adding them back again will result in an error.

toth-istvan-zoltan commented 1 month ago

We don't use slot history at the moment (nor slots for that matter).