Hacker News new | ask | show | jobs
by berkle4455 1003 days ago
What is the difference between $derived/computed and $effect/watch?
1 comments

I don't know about in Svelte, but in Vue watch is for taking some sort of action when things change, while computed is meant to return a value.