MCPcopy Index your code
hub / github.com/vercel/hyper / shouldComponentUpdate

Method shouldComponentUpdate

lib/components/terms.tsx:25–30  ·  view source on GitHub ↗
(nextProps: TermsProps & {children: any})

Source from the content-addressed store, hash-verified

23 }
24
25 shouldComponentUpdate(nextProps: TermsProps & {children: any}) {
26 return (
27 ObjectTypedKeys(nextProps).some((i) => i !== 'write' && this.props[i] !== nextProps[i]) ||
28 ObjectTypedKeys(this.props).some((i) => i !== 'write' && this.props[i] !== nextProps[i])
29 );
30 }
31
32 onRef = (uid: string, term: Term | null) => {
33 if (term) {

Callers

nothing calls this directly

Calls 1

ObjectTypedKeysFunction · 0.90

Tested by

no test coverage detected