MCPcopy Create free account
hub / github.com/microsoft/SandDance / componentDidUpdate

Method componentDidUpdate

docs/app/js/sanddance-app.js:11643–11645  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11641 return initialState;
11642 }
11643 componentDidUpdate() {
11644 if (!(0, _sanddanceReact.util).deepCompare(this.props.initializer, this.state.initializer)) this.setState(this.getInitialState(this.props));
11645 }
11646 // Converts to dataExport type and calls dataExportHandler to deal with data
11647 createExport(exportType, displayName) {
11648 const final = (data)=>{

Callers

nothing calls this directly

Calls 1

getInitialStateMethod · 0.95

Tested by

no test coverage detected