Skip to content

Context documentation mistake #13981

@hristiyan-georgiev

Description

@hristiyan-georgiev

Describe the bug

The part with 'context is not inherently reactive' - the docs show setContext in parent, and then setContext again in child to retrieve the value, where it should be getContext instead.

Reproduction

https://svelte.dev/docs/svelte/context#Setting-and-getting-context

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