MCPcopy Create free account
hub / github.com/ElemeFE/element-react / isPropChanged

Method isPropChanged

src/table/TableLayout.jsx:87–91  ·  view source on GitHub ↗
(key: string, preProps: TableLayoutProps)

Source from the content-addressed store, hash-verified

85 }
86
87 isPropChanged(key: string, preProps: TableLayoutProps): boolean {
88 const prop = getValueByPath(this.props, key);
89 const preProp = getValueByPath(preProps, key);
90 return prop !== preProp;
91 }
92
93 getChildContext() {
94 return {

Callers 1

componentDidUpdateMethod · 0.95

Calls 1

getValueByPathFunction · 0.90

Tested by

no test coverage detected