Skip to main content

Installation

还没翻译译自英文(tanstack.com)本页 28 段都还没译

Pacer packages are ESM-only, target ES2022, and require Node.js 20 or newer when running in Node.js. The Octane adapter requires Node.js 22.22.2 or newer. Ember includes a CommonJS addon metadata shim for its build tooling; its runtime entry points are ESM. Use ESM imports or dynamic import() when consuming them.

Install the adapter for your framework with your preferred package manager:

Each framework package re-exports everything from the core @tanstack/pacer package, so you do not need to install the core package separately.

Note

Not using a framework? Install the core @tanstack/pacer package directly for vanilla JavaScript.

Loading...
Loading...

Next steps

Your framework's quick start walks through a first debouncer, then covers selected state, reactive options, async work, default options, and cleanup: