--

Hmm, but wrapping a functional component in `React.memo` essentially turns it into a pure component, isn't it? With exactly the same logic, and you can compare props there in exactly the same way.

All logic described here has nothing to do with hooks or class components, all children/parents relationship would behave exactly as described here with class components.

--

--