Two custom React hooks | Hacker News Reader