@suspensive/react-query
v2.18.10
Published
Suspensive interfaces for @tanstack/react-query
Downloads
13,272
Readme
Introduction
@suspensive/react-query provide components and hooks to use @tanstack/react-query@4's suspense option easily.
Installation
@suspensive/react-query is available on npm.
From version 2.2.0 onwards, it supports both v4 and v5 of @tanstack/react-query. Depending on the version of @tanstack/react-query specified in your package.json dependencies, the appropriate version of @suspensive/react-query will be used automatically.
To use the latest stable version, run the following command.
npm install @suspensive/react-query @tanstack/react-query
To use @tanstack/react-query v4, run the following command. @tanstack/react-query v4 supports lower version browsers compared to v5.
npm install @suspensive/react-query @tanstack/react-query@4