Writing cleaner React code for better maintainability and testability | Hacker News Reader