score:5

Accepted answer
componentDidUpdate(previousProps){
    this.props.somehting // new value
    previousProps.something // old value
}

Related Query

More Query from same tag