Skip to content

Warning: Properties of objects and arrays are not reactive unless in runes modeΒ #13811

@MrWaip

Description

@MrWaip

Describe the bug

Hi, I just updated svelte to version 5, and I get this warning

Properties of objects and arrays are not reactive unless in runes mode. Changes to this property will not cause the reactive statement to update 

There is obviously some bug in the analyzer. I do not mutate the object, but read its property

image

Reproduction

https://svelte.dev/playground/d38ff4e52c9c4b1cb7b5314a662e479a?version=5.0.5

Logs

No response

System Info

Severity

annoyance

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