I always mix these up, so I finally sat down to write a quick comparison. They’re all about React performance optimisation, but they solve slightly different problems. 1. React.memo – don’t rerender this if props are the same tsx const Child = React....
Markdown supported · ⌘↵ to post
No responses yet.