Implement custom throttle function for performance

This commit is contained in:
Jon Staab
2024-12-11 16:41:31 -08:00
parent ab0517e804
commit 0fcb2482d8
12 changed files with 68 additions and 34 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
import {throttle} from 'throttle-debounce'
import {derived, writable} from 'svelte/store'
import {max, addToMapKey, inc, dec} from '@welshman/lib'
import {max, throttle, addToMapKey, inc, dec} from '@welshman/lib'
import {getListTags, getPubkeyTagValues} from '@welshman/util'
import {throttled, withGetter} from '@welshman/store'
import {pubkey} from './session'