React | React.memo, useMemo, useCallback – what’s the difference?
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....
val-codeops.hashnode.dev2 min read