python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Can't pause slideshow with cleartimeout
So I'm learning javascript and I'm currently working on an assignment where I need to create a banner that cycles through multiple images with a pause button, problem is, I can't seem to pause it with...
Fábio Santos
Votes: 0
Answers: 1
How to save and then later delete timeoutId in React inside a async thunk that is dispatched
I have a problem that I don't know how to fix.
I want to call refresh-token endpoint when setTimeout time runs out. setTimeout is called in 2 different ways:
When user logs in
When user enters a page...
Ivan Kralj
Votes: 0
Answers: 1
Javascript counter not stopping
for this counter I made, I used the setInterval, and when every digit is equal to zero I expect this to clear the interval, but it's not working! Can someone help me out?
const counterHTML = document....
Snowye
Votes: 0
Answers: 1
setTimeout and clearTimeout in React
I'm struggling with creating a logout feature when users don't make any click event for 30 seconds on the page using setTimeout and clearTimeout.
But every time the users click anything on the page, t...
Ryan Park
Votes: 0
Answers: 2