Skip to content

Docs on svelte/action uses example of legacy mode #15588

Closed as not planned
Closed as not planned
@fel1x-developer

Description

@fel1x-developer

Describe the bug

The use: directive docs says

Legacy mode
Prior to the $effect rune, actions could return an object with update and destroy methods, where update would be called with the latest value of the argument if it changed. Using effects is preferred.

However there is no mention of the usage of $effect rune in svelte/action docs.

Reproduction

N/A

Logs

N/A

System Info

N/A

Severity

annoyance

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