Command Palette
Search for a command to run
Command Palette
Search for a command to run

lifecycle-hooks

✓ Relevant

Svelte 5 lifecycle: onMount (after DOM mount, optional cleanup), onDestroy (before unmount, runs on server), tick (promise for DOM updates); deprecated beforeUpdate/afterUpdate replaced by $effect.pre/$effect for granular state-change reactions.