title: How to compare prevProps with this.props in shouldComponentUpdate
body: <p>I am now using <code>shouldComponentUpdate</code> but I cannot simply do <code>prevProps.myPropObj == this.state.props.myPropObj</code> to compare. It is an object and I would need to do deep compare. Does react expose to me some method to tell me if my prop changed or not? Or do they expect me to do the deep comparison myself? I was thinking react specializes in this comparison so it should tell us true/false on if same or not no?</p>