Replies: 2 comments 4 replies
-
Anybody have any thoughts on this pattern? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Noticed that there's a |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a timer on the server that starts at 0 and increments every second. It expires at 5 minutes.
Every minute, I want to do something depending on the user’s activity.
When the timer is >=5 minutes, the checkTimer call will error.
I found https://overreacted.io/making-setinterval-declarative-with-react-hooks/ to make a useInterval hook, I was wondering if it's possible to query/mutate with it.
something like this...
Beta Was this translation helpful? Give feedback.
All reactions