I asked in Twitter, the answer from Svelte creator Rich Harris is:
The most common way to handle that situation is
$: c, console.log('yes');
It does feel a bit weird, I know 🙂
I asked in Twitter, the answer from Svelte creator Rich Harris is:
The most common way to handle that situation is
$: c, console.log('yes');
It does feel a bit weird, I know 🙂