Class methods are Ruby's useEffect | Dark Hacker News