shouldComponentUpdate(nextProps, nextState){ // Do some check here return resultOFCheckAsBoolean}
this
until super()
has been called. Also, ES2015 class constructors have to call super() if they are subclasses. The reason for passing props to super() is to enable you to access this.props in the constructor. getState()
;dispatch(action)
;subscribe(listener)
;subscribe(listener)
.