Refactoring components in React with custom hooks | Hacker News Reader