from Hacker News

Should You Use UseMemo in React? Let’s Find Out

by pspeter3 on 2/17/21, 8:33 PM with 2 comments

  • by scastiel on 2/17/21, 8:46 PM

    I heard that it was usually not a good choice to use useMemo unless you measured that it improved performance in your specific case.

    But I like the benchmarks in this post; now I’m more sure about it :)

  • by chovybizzass on 2/17/21, 8:40 PM

    No. because you shouldn't be using react.