Svelte · Senior · Question 64 of 75
What does fromAction from svelte/attachments do?
- ✓Correct answer: Converts an existing
use:action into an attachment, so it can be used with{@attach}and passed through components - 2Converts attachments back to actions
- 3Turns an action into a store
Explanation
It eases gradual migration from actions while using libraries that haven't updated yet.