Concept Flow - Named actions
Define named action function
Export action for use
Use action in component element
Svelte calls action with element
Action runs setup code
Optionally return cleanup function
On element removal, cleanup runs
This flow shows how a named action is defined, exported, used on an element, and how Svelte runs setup and cleanup code.