I'm hoping to utilize the Push API to push data changes from the server to an Angular app, thus removing the need to constantly poll for changes. Is this possible? All I can find is SwPush which seems to only allow for pushing of user notifications. What I need is more about silently updating UI based on changes to back end data.
Asked
Active
Viewed 437 times
1 Answers
0
Assuming that you have control over your API, you could implement Socket.IO
Are you using a State Management System (i.e. store), such as NgRx or NGXS? This way, when you send an API request you can update the store with the response. Essentially giving you that 'live' feeling where the user would not have to reload the page to see the changes.

Jose
- 370
- 1
- 4
- 14
-
Socket.IO may well work, but I was hoping to utilize the Push API. – Jon Vance Jun 28 '21 at 21:47