My FeedDiscussionsHashnode Enterprise
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

What is the best way to poll for data changes from the server?

Anthony Young's photo
Anthony Young
·Jul 14, 2016

Is doing setInterval on the frontend a very very bad thing to do, to then check for new data? What is the best way to do this? How do you check for differences? Do you handle this on the server?