DioxusLabs / dioxus

Fullstack GUI library for web, desktop, mobile, and more.
https://dioxuslabs.com
Apache License 2.0
19.45k stars 748 forks source link

Removing components with hotreloading enabled can lead to page crash #2077

Open jkelleyrtp opened 4 months ago

jkelleyrtp commented 4 months ago

Problem

If you have a series of components and remove one or multiple of them, the hotreloading resolver in core will crash, presumably because the scope we've removed no longer exists during reconciliation.

Not sure what the solution is.

rsx! {
    div {
        Child {}
        Child {}
        Child {}
    }
}

Environment:

Questionnaire