Understanding UseMemo and UseCallback in React | Hacker News Reader