svecosystem / runed

Magical utilities for your Svelte applications (WIP)
https://runed.dev
MIT License
503 stars 24 forks source link

feat: Add `useThrottle` and `Throttled` #115

Open Not-Jayden opened 3 months ago

Not-Jayden commented 3 months ago

Add useThrottle and Throttled to complement the debounced utilities.

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: e3c0f868c7335b659486dc847d63bca1406794e2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----- | ----- | | runed | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 3 months ago
built with Refined Cloudflare Pages Action

âš¡ Cloudflare Pages Deployment

Name Status Preview Last Commit
runed ✅ Ready (View Log) Visit Preview e3c0f868c7335b659486dc847d63bca1406794e2
Not-Jayden commented 3 months ago

All working and documented, just feeling a bit lazy with tests if anyone feels particularly motivated to write them 😅

Otherwise I'll try look into it next weekend.

huntabyte commented 2 months ago

Hey there, thanks for this! Will give it a proper review and try to add some tests later before merging!