MCPcopy Create free account
hub / github.com/sshwsfc/xadmin / shouldComponentUpdate

Function shouldComponentUpdate

packages/xadmin/src/wrap.js:70–73  ·  view source on GitHub ↗
(nextProps, nextState)

Source from the content-addressed store, hash-verified

68 }
69
70 shouldComponentUpdate(nextProps, nextState) {
71 return !shallowEqual(this.state, nextState) ||
72 !shallowEqual(this.props, nextProps, 'wrapContext')
73 }
74
75 componentDidUpdate() {
76 getMappers().forEach(mapper => {

Callers

nothing calls this directly

Calls 1

shallowEqualFunction · 0.85

Tested by

no test coverage detected