Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fel1x-developer opened this issue Mar 22, 2025 · 0 comments
Open

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

fel1x-developer opened this issue Mar 22, 2025 · 0 comments

Comments

@fel1x-developer
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants