componentWillReceiveProps method

void componentWillReceiveProps (
  1. P nextProps,
  2. S nextState
)

Implementation

void componentWillReceiveProps(P nextProps, S nextState) {}