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?