T
TanStack3y ago
round-purple

Is suspensivereact-query ready for production usage?

Hello. I see the mention about suspensive in tanstack/query documentation. https://tanstack.com/query/v4/docs/react/community/suspensive-react-query Is it means it passes some review from tanstack command? How stable is it? Is it ready to use it in production? Thanks!
Suspensive React Query | TanStack Query Docs
Typesafe useQuery, useQueries, useInfiniteQuery with default suspense option. Use @suspensive/react-query, delegate loading and error handling to the outside of the component with useSuspenseQuery, useSuspenseQueries and useSuspenseInfiniteQuery, and focus on success inside the component.
1 Reply
rare-sapphire
rare-sapphire3y ago
Im using react query v4 with suspense: true on production since about 2 months, and no complains so far If You have possibility to reconsider state management then I highly recommend jotai togather with jotai react query integration. Jotai allows suspense by default, so You dont have to rely on react query suspense support, if You dont want to

Did you find this page helpful?