Skip to content
Discussion options

You must be logged in to vote

I'd rather leave that to user-land, as there is no standardized way of doing it. If you are using dayjs for example, you can already do it via:

staleTime: dayjs.duration({ minutes: 5 }).asMilliseconds()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Liam-Tait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants