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
1 answer
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)
Find more questions by tags TypeScriptAngular
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