2 ms·
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.
by lolinder 3y 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.