Class methods are Ruby's useEffect | Hacker News Reader