- The equivalent of React refs in Svelte is
bind:this={domElement}
- Even through the Svelte API is amazing and way more easier to integrate with third party libs like mapbox. Came to conclusion I wasnt ready to use svelte kit yet just due to the fact there was a few thing I wasnt clued up on. e.g I dont understand
- how +page.server.js work with
use:enhance
. (interesting others) found it confusing too.
- how +page.server.js work with