useRef vs. useState | Hacker News Reader