svelte-ux icon indicating copy to clipboard operation
svelte-ux copied to clipboard

Update all `dispatch('change')` to not fire unless value changed

Open techniq opened this issue 2 years ago • 2 comments

https://github.com/techniq/svelte-ux/commit/de6f9a2018bb11c65f73fd5df1353e98dabd834b

techniq avatar Jan 05 '23 17:01 techniq

For most cases, no change will be needed (just need to verify). All the $: dispatch('change', { value }) should be fine (see REPL)

techniq avatar Jan 05 '23 18:01 techniq