Week 6 Day 3 Journal
# Week 6 Day 3 Journal
What are lifecycle hooks? What are lifecycle hooks used for?
How have you utilized lifcycle hooks in your afternoon projects?
What are mounting hooks? When might you use them?
Lifecycle hooks are a deeper look into library. They are used to tell you when something is created, deleted or changed.
I have used them in my projects mainly through the on mounted. It says, whenever this page loads, I want you to load this info, even if it hasn't changed.
The mounting hooks are the hooks that are used right before or after the page is loaded. If you want to do something right before a page loads, you would use a beforeMounted.
Daily Challenge https://github.com/JordanWilker/latewinter21-gregslist