03 - $effect and the Lifecycle: When to Use It (and When Not To)
$effect runs code as a side effect after the DOM has been updated, automatically tracking reactive dependencies without declaring them explicitly. The golden rule: always prefer $derived for computed values and reserve $effect for true side effects l...
federicocalo.hashnode.dev1 min read