News for hackers. Stuff that matters.
Re:React Docs Beta – rewritten with hooks and interactive ex... by eatonphil on Saturday October 23, 2021 @05:36PM (#28972564)
Same, I haven't seen a need for it for performance yet across a few companies and open source apps I've worked on.
Re:React Docs Beta – rewritten with hooks and interactive ex... by eh9 on Sunday October 24, 2021 @12:23AM (#28974950)
Every single time I’ve needed to use memo the performance gains where obvious.
Re:React Docs Beta – rewritten with hooks and interactive ex... by sibeliuss on Sunday October 24, 2021 @01:14AM (#28975174)
A: You'll know when you need it. Until that point one is firmly in the realm of premature optimization.
Re:React Docs Beta – rewritten with hooks and interactive ex... by atom_arranger on Sunday October 24, 2021 @07:51AM (#28977071)
The post points out that given memoization in many cases avoids serious perf/functional issues not memoizing may be considered premature optimization.