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

Function ComponentState1

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

Source from the content-addressed store, hash-verified

88275var EMPTY_PROPS = Object.freeze({});
88276var ComponentState = function() {
88277 function ComponentState1() {
88278 var component = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
88279 (0, _classCallCheckDefault.default)(this, ComponentState1);
88280 this.component = component;
88281 this.asyncProps = {};
88282 this.onAsyncPropUpdated = function() {};
88283 this.oldProps = EMPTY_PROPS;
88284 this.oldAsyncProps = null;
88285 }
88286 (0, _createClassDefault.default)(ComponentState1, [
88287 {
88288 key: "getOldProps",

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected