I am writing a training todo-application on angular 2, with the function of local storage of to-do lists. I use indexedDB .
The main actions have already written ( Create Read Update Delete ), everything works!
But when you add a new item to the to-do list, to get it on the page you need to reload the page = (
The question actually is: Is it possible to update the database somehow, as soon as an action has taken place in it (without reloading the page)? , whether adding data or deleting

    1 answer 1

    Create a refresh (for example), and clicking on it to make an Ajax request to the database, well, then I think you will figure it out. AJAX

    • Of course, thanks for the answer =), but I just found out that everything is already updated) you just need to restart the developer panel - Denisoed