There’s a much simpler solution, which is basically to use a normal query and pass queryClient into the queryFn so you can use it to grab any old data and filter the query with the date/time of the most recent record.
https://stackoverflow.com/questions/77368878/how-to-efficiently-poll-for-data-with-react-query

