React state: render props vs. hooks | Hacker News Reader