Handling API request race conditions in React | Hacker News Reader