Skip to content

Context not working with array #14261

@dm-de

Description

@dm-de

Describe the bug

After setting an array,
I use setContext inside $effect.
This feels right - otherwise a warning come up.
But my subcomponent do not get context.
Array is undefined

Same thing with object

Reproduction

ARRAY

OBJECT

Logs

No response

System Info

Svelte 5.1.14

Severity

blocking an upgrade

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions