Skip to content

State nested inside of SvelteMap is no longer reactive #15838

Open
@WaltzingPenguin

Description

@WaltzingPenguin

Describe the bug

If SvelteMap is used to access an object containing state, the result is no longer reactive sometime after 5.23.0.

Reproduction

https://svelte.dev/playground/8f3e032e86604e9db9c4de89c39707f0?version=5.23.0
Pinned against 5.23.0
Works as intended, it displays "Loading..." and then is replaced with an image of Eevee

https://svelte.dev/playground/8f3e032e86604e9db9c4de89c39707f0?version=5.28.2
Latest Version
View is stuck displaying "Loading...". No errors or warnings are issued. Changing the id to 132 and then back to 133 will cause the view to update correctly.

Logs

System Info

Reproducible with web REPL

Severity

blocking an upgrade

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions