Concept Flow - Why actions add reusable element behavior
Define action function
Attach action to element
Element created in DOM
Action runs with element
Action adds behavior (event, style, etc.)
Element behaves with added features
Element removed -> action cleanup runs
This flow shows how a Svelte action is defined, attached to an element, runs to add behavior, and cleans up when the element is removed.