Live Data in React Tanstack Query: streamedQuery vs Auto Refetching
11:02 07 Nov 2025

In my React application, I want to implement a page that shows live data, such as the current status of a camera (on/off) and images taken by the camera, triggered by different events.

I am using Tanstack Query for the rest of my application. I found streamedQuery, but I am having trouble fully understanding it. Is it for continuous live data, or only for the initial page load of a large amount of data? I also found Auto Refetching, but I am unsure which approach to use for my use case.

Could someone please help me to understand the difference between them and which fits my issue best?

reactjs tanstackreact-query