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

Method shouldComponentUpdate

src/higherOrders/FormItem.js:74–76  ·  view source on GitHub ↗
(nextProps, nextState)

Source from the content-addressed store, hash-verified

72 }
73
74 shouldComponentUpdate (nextProps, nextState) {
75 return !shallowEqual(nextProps, this.props) || !shallowEqual(this.state, nextState);
76 }
77
78 componentWillUnmount () {
79 const { itemUnbind, name } = this.props;

Callers

nothing calls this directly

Calls 1

shallowEqualFunction · 0.90

Tested by

no test coverage detected