DEV Community

Discussion on: Interval fetching with react-query

Collapse
 
tkdodo profile image
Dominik D

Good use-case, thanks for the article. I'd still like to point out that this is not long-polling in an http sense, where the server keeps the connection open until the information is available. What you are doing here is a "normal", traditional polling where the client initiates a new request at an interval level.

see: en.wikipedia.org/wiki/Push_technol...

Maybe you can point that out somewhere, because that is somewhat confusing :)

Collapse
 
allanloji profile image
Allan López

Thanks for the comment, totally agree in changing that to avoid confusion 👍