You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace edges with leading and trailing in throttle hooks #534
useThrottle and useThrottledCallback take edges: ('leading' | 'trailing')[], while useDebounce, useDebouncedCallback, useDebouncedValue and useThrottledValue take leading and trailing booleans. useThrottledValue even converts its booleans back into an array just to call useThrottle.
Replace edges with leading?: boolean and trailing?: boolean in both hooks, keep the current default of both enabled, and remove the conversion in useThrottledValue. Update types, docs, and tests.
Activity
Antoliny0919 commentedon Sep 29, 2026
can i work on it ? 😁
hyesungoh commentedon Sep 30, 2026
@Antoliny0919 please take this first 🙏
mnxmnz commentedon Oct 6, 2026
Landed in
v1-basevia #548 🙌