My FeedDiscussionsHeadless CMS
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

How to check if data changed in RESTful api with Angular 2/4 ?

Kareem's photo
Kareem
·Sep 10, 2017

I have an application that gets data from RESTful api but I want to know how I can refresh data without reloading the page?

Should I write an observer that checks data each 2min for example? but how can I make that real-time (isn't it bad to send too much requests?)