ComposantwillReceiveProps Hooks
SomeComponent (props) => {
useEffect( () => {
console.log('someProp updated');
}, [props.someProp])
return <div>Hi {props.someProp}</div>
}
Tense Trout