How to update data table in Angular 7?

There is a table in which data is loaded from the database.
how to make so when you delete data from the table it updated, and it turns out that in the database they are retired but on page no
March 23rd 20 at 19:14
1 answer
March 23rd 20 at 19:16
well you need to send a buck update that in database there are no more values:

globally, approach two: push and pull

pull - you every n seconds sending to the backend request, they say give me values from the database and update every time a sign
push through WebSocket's or SSE notification and receive updates from the backend (we need buck to implement notifications)
And here is how to update a sign that the page was not reloaded - seamus.Skiles commented on March 23rd 20 at 19:19
both options do not restart the website
or ajax for pul-approach (easier to do, but if it is critical to update ASAP, not the best option)
ws and sse also does not reload the page - garnett commented on March 23rd 20 at 19:22

Find more questions by tags AngularTypeScript