ibrahimyaacobI
tRPC3y ago
2 replies
ibrahimyaacob

does api.myQuery.invalidate() works if the query is not made at the first place?

from testing, the invalidate runs the query, but it shouldn't because there is no cache?
how do i invalidate ONLY when the cache exist ?
Was this page helpful?