Skip to content

[5.55.3] derived_inert warnings #18097

@henrykrinkle01

Description

@henrykrinkle01

Describe the bug

I got a bunch of this warning when updated Svelte to 5.55.3. This is caused by some weird interactions between a couple of shadcn-svelte, bits-ui, svelte-sonner components and page.url. Created a reproduction as requested by @dummdidumm.

Reproduction

https://stackblitz.com/edit/sveltejs-kit-template-default-k5x5sbng?file=src%2Froutes%2F%2Bpage.svelte,src%2Froutes%2FChild.svelte,src%2Froutes%2F%2Blayout.svelte

Logs

[svelte] derived_inert Reading a derived belonging to a now-destroyed effect may result in stale values

System Info

svelte@5.55.3
kit@2.57.1

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions