How to separate React components | Hacker News Reader