Getting Started

Installation

TanStack Pacer is compatible with various front-end frameworks. Install the corresponding adapter for your framework using your preferred package manager:

shell
npm i @tanstack/react-pacer

Each framework package re-exports everything from the core @tanstack/pacer package, so there is no need to install the core package separately.

Note

If you are not using a framework, you can install the core @tanstack/pacer package directly for use with vanilla JavaScript.

Devtools

Developer tools are available using TanStack Devtools. Install the devtools adapter and the Pacer devtools plugin as dev dependencies to inspect and monitor your pacers.

shell
npm i @tanstack/react-devtools
npm i @tanstack/react-pacer-devtools

See the devtools documentation for more information on how to set up and use the Pacer devtools.