3 ms·
Nit: shouldComponentUpdate is a lifecycle method, not a hook. The corresponding approach in React's new world is React.memo.
by azangru 7y ago
Nit: shouldComponentUpdate is a lifecycle method, not a hook. The corresponding approach in React's new world is React.memo.