how much do you use actions (not form actions) in your Svelte/SvelteKit apps?
i feel like i really underutilize them, but im curious if everyone else does too
i feel like i really underutilize them, but im curious if everyone else does too
Comments
Too often I end up with recursive bind:value to propagate values down the DOM, and should have written it as an action.
Oh well.
These packages used to be part of Svelte UX but extracted into separate packages for broader usage.
For example I’ll shamelessly plug my phone number formatter I recently wrote. It only needs to format in response to the user typing. So action fits well
https://gist.github.com/bertybot/02470d3b2e0fbfb5c0e2a4fab7689b0f
More efficient and reusable too!