How to pass arguments to events like on:click in Svelte
Svelte events are the way we add interactivity to components in Svelte. A common issue with Svelte events is adding arguments to functions called within them. For example, suppose we have a basic counter, which increases any time the user clicks on i...
fjolt.hashnode.dev2 min read