Click for alert
Click to trigger function
Triggered lifecycle hooks