React 102

Basics of React after the 101 stuff (not included).
Github Repo for This Project

Lifecycle!

Because of Strict Mode, the code is initially ran twice.

If you try to add
state
to the dependency array, since the effects are mutating the same
state
, then you end up with an infinite recursion and it will break the page.
initial state