How do I use component lifecycle methods and other Svelte functionality within a Svelte app created using StackBlitz (https://stackblitz.com/fork/svelte)?
Usually I would just import this sort of thing as an ES import:
import { onMount } from 'svelte'
But this doesn't work.