In svelte, whenever the value of someVar changes, this one-liner will be executed.
$: console.log({someVar});
Referred to as a reactive declaration by Svelte, the code following the $
symbol, known as the "destiny operator," will run every time any variables it depends on are updated.
This feature is particularly handy for debugging. I wonder if Vue offers something similar?