Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
berkle4455
2y ago
0 comments
Save
Share
What is the difference between $derived/computed and $effect/watch?
0 comments
1 comments · 1 top-level
top
newest
oldest
lolinder
2y ago
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.
j
/
k
navigate · click thread line to collapse