I’ve made an Ionic angular app that reads and writes data from/to a mysql database.
In the section I’m working now there is a list of orders: i get the list with a http get request from my backend and then I show it looping the response with *ngFor. Every 60 seconds i do a new http request for updating the orders list.
Everything works just fine.
But how can I show an alert with the newest values only?
The practical example would be a printer connected to my app that prints every new order from the backend, a restaurant for example, that prints automatically the new orders