useState hook: https://www.youtube.com/watch?v=KWjW1JmldRE
UseEffect is the second most used React hook right after useState. It triggers some kind of logic passed in by the developer every time one of the dependencies are changed. If no dependencies are passed in, it trigger the logic only once when the app is first loaded.