Stop/Restart Requests When User Is Inactive using Angular, RxJS, and Page Visibility API
It’s common for websites or apps to request fresh data on a set interval. What if the user isn’t...
Tags: angular, rxjs, api, javascript