MCPcopy Create free account
hub / github.com/Lobos/react-ui / shouldComponentUpdate

Method shouldComponentUpdate

src/Datepicker/Pair.js:13–15  ·  view source on GitHub ↗
(nextProps, nextState)

Source from the content-addressed store, hash-verified

11 }
12
13 shouldComponentUpdate (nextProps, nextState) {
14 return !shallowEqual(nextProps, this.props) || !shallowEqual(this.state, nextState);
15 }
16
17 render () {
18 const { names, min, max, con, ...other } = this.props;

Callers 1

react.jsFile · 0.45

Calls 1

shallowEqualFunction · 0.90

Tested by

no test coverage detected