Confused by useEffect in React - Kevin Powell - Community