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

Method view

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

Source from the content-addressed store, hash-verified

11211 });
11212 }
11213 view() {
11214 if (this.props.insight && this.props.data) {
11215 const c = compareProps(this.viewer, this.props.insight);
11216 const sameDataRef = this.props.data === this.lastData;
11217 if (!c.compare || !sameDataRef) this.layout();
11218 }
11219 }
11220 componentDidMount() {
11221 const element = (0, _base.base).reactDOM.findDOMNode(this.viewerDiv);
11222 this.viewer = new (0, _sanddance.Viewer)(element, this.props.viewerOptions);

Callers 2

componentDidMountMethod · 0.95
componentDidUpdateMethod · 0.95

Calls 2

layoutMethod · 0.95
comparePropsFunction · 0.70

Tested by

no test coverage detected