shouldcomponentupdate hook ? code example
Example: shouldcomponentupdate hooks
React.memo(function MyComponent (props) {
return <div>{ "My Component " + props.value }</div>;
})
React.memo(function MyComponent (props) {
return <div>{ "My Component " + props.value }</div>;
})