Svelte Guideline: Actions — Return update and destroy. Description: Lifecycle methods for actions. Do: Return { update, destroy }. Don't: Only initial setup. Good Example: return { update(params) {}, destroy() {} }. Bad Example: return destroy only. Severity: Medium. Docs: .