UseQuery with "now" in paramaters and refetchInterval
I have a useQuery call where the promise callback parameter requires a current timestamp value that we provide with Luxon's DateTime.utc().toISO(). As this value changes every millisecond the query also fires off as fast as it can go. To circumvent this we need to use a useEffect with a setInterval in it that sets a state. I have the feeling there could be a better solution around. As the param changes the query fires so adding a refetchInterval of a minute to the query adds more oil to the fire. Is there a way to set the timestamp param value when the refetch is fired without the param changing causing a new fetch itself? Or is controlling the param update the only way to go?