6 karma · joined Jan 4, 2021 (5y ago) · 2 submissions
comment 1y ago · link · parent
https://www.youtube.com/watch?v=boiW5qhrGH4
https://www.youtube.com/watch?v=-V-vOXLyKGw
comment 5y ago · link · parent
Because in every aspect it seems that React.memo is better. Especially when we are sure of stable argument references.
Even when you add children to the component with memo, the worst case performance will be the same.
https://codesandbox.io/s/react-memo-benchmark-m2bk6?file=/sr...