Better descriptions for hooks config options #478
Unanswered
chrisco512
asked this question in
Ideas
Replies: 1 comment
-
Definitely! In the meantime, you can check out how React Query explains |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think the hook config options could use better descriptions. While working with wagmi, I've been trying to grasp what the effects of all the various config options are and how they interact with each other. For example, if I set
watch: true
does it matter ifcacheTime
orstaleTime
are set? Will it refresh either way? Also, what is the difference betweencacheTime
andstaleTime
? If a value is past itscacheTime
but not past itsstaleTime
, what are the implications? If a value passes itsstaleTime
will the framework automatically fetch the latest value? Same question forcacheTime
?Beta Was this translation helpful? Give feedback.
All reactions