Hacker News new | ask | show | jobs
by mb7733 1551 days ago
Why would you need useMemo in a class component? You can just attach a memoized instance of the function to the component