
tanstack-pacer
Framework-agnostic debouncing, throttling, rate limiting, queuing
by tanstack-skillsFree
Description
TanStack Pacer is a framework agnostic toolkit for controlling how often a function runs. It provides debouncing, which delays execution until activity has stopped, along with throttling, rate limiting, queuing and batching. The toolkit offers class based APIs, factory functions and React hooks, and it is type safe. The core package is @tanstack/pacer, and @tanstack/react-pacer adds React hooks on top of it. The agent skill guides you through installing the packages and choosing the right utility for a given timing problem, such as a search box that should wait for the user to stop typing, or an API call that must not exceed a set rate. The project lists its status as beta, so its APIs may still change. The skill is part of the tanstack-skills collection on GitHub. Its security audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.…
Highlights
- Debouncing, throttling, rate limiting, queuing and batching
- Class based APIs, factory functions and React hooks
- Type safe and framework agnostic
- Installs as @tanstack/pacer and @tanstack/react-pacer
- Beta status
Ratings & Reviews
No ratings yet
Be the first to rate tanstack-pacer.
People also visit

tanstack-query-best-practices
TanStack Query (React Query) best practices for data fetching, caching
tanstack-pacer FAQ
What does TanStack Pacer do?
It controls how often a function runs, with debouncing, throttling, rate limiting, queuing and batching.
How do I install it?
Install @tanstack/pacer, and @tanstack/react-pacer if you use React hooks.
Is it stable?
The project lists its status as beta, so the API may change.
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best tanstack-pacer alternatives?
Popular alternatives to tanstack-pacer include upstash-ratelimit-js, inngest-flow-control and tanstack-query. See all tanstack-pacer alternatives










