Unexpected untrack
required to handle component status / type alerts in demo
#964
Labels
untrack
required to handle component status / type alerts in demo
#964
While migrating the demo website to Svelte 5, we wanted to update the ComponentTypeAlert.svelte and StatusAlert.svelte as follow:
The goal was to track if we have navigated to a new component, and if the status / type alerts need to be shown, to open the alert again.
However, we encountered a weird behavior that can be reproduced by:
We were able to fix this weird behavior by editing the code to:
We don't believe there is a reason why we should need this
untrack
here, so we should open an issue on svelte, with a proper reproduction environment.After investigation / discussion, this issue could then be closed and the
untrack
removed.The text was updated successfully, but these errors were encountered: