There are many ways to do one thing in react nowadays. Take memo for example, what's the difference between useMemo and memo(MyComponent) and React.PureComponent? Aren't they're doing the same thing? so which one we should use today? If we judge base on the date of the newer API we should use useMemo?
