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

Function shouldRenderDataForMeasurement

docs/app/js/sanddance-app.js:42126–42129  ·  view source on GitHub ↗

Function that determines if we need to render content for measurement based on the measurement cache contents.

(dataToMeasure)

Source from the content-addressed store, hash-verified

42124 return nextState;
42125 }
42126 /** Function that determines if we need to render content for measurement based on the measurement cache contents. */ function shouldRenderDataForMeasurement(dataToMeasure) {
42127 if (!dataToMeasure || _measurementCache.getCachedMeasurement(dataToMeasure) !== undefined) return false;
42128 return true;
42129 }
42130 function getInitialResizeGroupState(data) {
42131 return {
42132 dataToMeasure: (0, _tslib.__assign)({}, data),

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected