How to use React Hooks in projects with existing class components | Hacker News Reader