shouldComponentUpdate method

bool shouldComponentUpdate(
  1. Map nextProps,
  2. Map nextState
)
inherited

ReactJS lifecycle method that is invoked before rendering when nextProps or nextState are being received.

Use this as an opportunity to return false when you're certain that the transition to the new props and state will not require a component update.

See: reactjs.org/docs/react-component.html#updating-shouldcomponentupdate

Implementation

bool shouldComponentUpdate(Map nextProps, Map nextState) => true;