Building a UseSocket Hook in React | Hacker News Reader