You’re not a React head?

Svelte touch gestures
Hey svelte heads! How are you? I was recently looking for a way to add some touch gestures to my application. I was exploring different options but finally I ended up using spring from the svelte/motion library, modifying the code that svelte has on their website. Can you think of a better way to do this?
You can review the code i use for nostree.me here
https://github.com/gzuuus/linktr-nostr/blob/master/src/lib/utils/pannable.ts and used in this component https://github.com/gzuuus/linktr-nostr/blob/master/src/lib/components/event-card.svelte
You’re not a React head?
