Skip to Content

Installation

Check supported browsers

Suspensive Libraries are optimized for modern browsers. It is compatible with the following browsers config.


Chrome>= 51
Firefox>= 53
Edge>= 18
Safari>= 11
iOS>= 11
Opera>= 38

Depending on your environment, you might need to add polyfills. If you want to support older browsers, you need to transpile the library from node_modules yourselves.

Check supported react, @tanstack/react-query version


react^18 || ^19
@tanstack/react-query^4 || ^5

Add as Dependencies

Install the package that matches your @tanstack/react-query version.

npm install @suspensive/react-query@npm:@suspensive/react-query-5 @tanstack/react-query@5

By using npm aliases, the import path remains @suspensive/react-query across your codebase. When upgrading your @tanstack/react-query version, you only need to change the alias in package.json — no code changes required.

Last updated on