Awesome Reviewers

When designing or documenting API options and callbacks, ensure the contract is exact, unambiguous, and type-safe.

Example (control-flow precision):

useQuery({
  queryKey: ['job', jobId],
  queryFn: () => fetchJobStatus(jobId),
  refetchInterval: (query) => {
    if (query.state.data?.status === 'complete') return false
    return 2000
  },
})