React hooks of intersection observer API | Hacker News Reader