MCPcopy Index your code
hub / github.com/microsoft/SandDance / view

Method view

packages/sanddance-react/src/viewer.tsx:56–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 private view() {
57 if (this.props.insight && this.props.data) {
58 const c = compareProps(this.viewer, this.props.insight);
59 const sameDataRef = this.props.data === this.lastData;
60 if (!c.compare || !sameDataRef) {
61 this.layout();
62 }
63 }
64 }
65
66 componentDidMount() {
67 const element = base.reactDOM.findDOMNode(this.viewerDiv) as HTMLElement;

Callers 3

componentDidMountMethod · 0.95
componentDidUpdateMethod · 0.95
SandDanceVue.tsFile · 0.45

Calls 2

layoutMethod · 0.95
comparePropsFunction · 0.70

Tested by

no test coverage detected