The 'updated' Lifecycle Hook

Whenever there is a change in our page, the application is updated and the updated() function is called. In this example we use console.log() in the updated() function that runs when our application is updated.

Open your browser console to see the result.

Component

This is the component