Starting to get to grips with the ergonomics of svelte. Using custom template syntax feels odd after using jsx so much, but the syntax is intuitive enough.
useaction directives are powerful - https://svelte.dev/docs#template-syntax-element-directives-use-action
- This remove the need to bind an element to ref then pass it to a third party lib. I like how it has handles for updating and destrying an element.
Should any elements that are fed into a third party lib use
found a nice svg plugin for svelte - https://github.com/poppa/sveltekit-svg