---
title: "Discussion on \"Stop using useQuery from React-Query !\" | Hashnode"
description: "Discussion on \"Stop using useQuery from React-Query !\". Discover the magic of React's Suspense combined with React Query for seamless management of loading states."
url: "https://hashnode.com/posts/stop-using-usequery-from-react-query/66abeacd380e9a5ad0d9a8eb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stop using useQuery from React-Query !](https://rouret.hashnode.dev/stop-using-usequery-from-react-query?utm_source=hashnode&utm_medium=feed)

Discover the magic of React's Suspense combined with React Query for seamless management of loading states.

Aug 1, 2024 · 4 min read · rouret.hashnode.dev  
Updated Aug 30, 2025  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-query](https://hashnode.com/tag/react-query)

## Written by

[Lucas ROURET](https://hashnode.com/@lrouret)

@lrouret · Nantes, France

  
[View profile](https://hashnode.com/@lrouret)

Web and Mobile Software Engineer

Passionate about software development, I adapt quickly to any environment and learn fast. I prioritize methodology and continuous improvement over overproduction, convinced that every mistake or delay is a learning opportunity. Curious and versatile, a true Swiss Army knife, I am seeking an exciting professional experience where I can tackle diverse challenges and deliver real value.

## Responses 1

Markdown supported · ⌘↵ to post

[Reuel Teodoro](https://hashnode.com/@reuel711)

[Aug 11, 2024](https://hashnode.com/posts/stop-using-usequery-from-react-query/66abeacd380e9a5ad0d9a8eb/comment/66b9479127ad2854bf4955cf)

Wait I never heard of useSuspenseQuery? i tried looking into the docs and it just the says its same as useQuery? please explain? also does the hook always have to be inside the a component of a Suspense component? Because Im working on an codebase that has a Context Provider e.g a UserProvider and we export the 'data, isLoading, refetch' and use that everywhere in our code.

[Dhruvil S Shah](https://hashnode.com/@dhruvwill)

[Aug 11, 2024](https://hashnode.com/posts/stop-using-usequery-from-react-query/66abeacd380e9a5ad0d9a8eb/comment/66b8bc72d6734e5b32ae7ca1)

TBH, I still like the react-query way. Also the advantage of mutations, I can't ignore it. tanstack has made API requests so simple

[Lucas ROURET](https://hashnode.com/@lrouret)

[Aug 11, 2024](https://hashnode.com/posts/stop-using-usequery-from-react-query/66abeacd380e9a5ad0d9a8eb/comment/66b8bc72d6734e5b32ae7ca1#reply-66b8bd21cf5db644221c5282)

I'm not saying to stop using React Query, but to replace useQuery with useSuspenseQuery and React's Suspense.
