Svelte 5 make $state reactive when in external module
I am trying to refactor a dragListener into a .svelte.js
module passing the position of the dragged element as a reactive $state().
I am trying to refactor a dragListener into a .svelte.js
module passing the position of the dragged element as a reactive $state().