T
TanStack2y ago
fair-rose

Does refetch internally call fetch

Hey, have been digging around the src for a bit. I can't seem to find it refetch simply calls fetch. I was wondering if refetch requires that the initial query has been fetched previously or if as long as a query is defined we can call refetch as the initial query call? (I think this is true?)
1 Reply
eager-peach
eager-peach2y ago
Yes you can call refetch for the initial call

Did you find this page helpful?