Y
Hacker News
new
|
ask
|
show
|
jobs
by
ativzzz
2236 days ago
The issue is it's not as simple as calling `setTimeout` as soon as your use case becomes more complex. See this great post from Dan Abramov about using setInterval with hooks:
https://overreacted.io/making-setinterval-declarative-with-r...