Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49085

Show only new data from http get requests

$
0
0

Hello,
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

Thank you :slight_smile:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49085

Trending Articles