Building a React-esque component using vanilla JavaScript | Hacker News Reader