code: function updateSize(domElement, cacheObj) {
    if (cacheObj.timestamp < timestamp) {
      sizeProperties.forEach((prop) => {
        cacheObj[prop] = domElement[prop];
      });
      cacheObj.clientRect = domElement.getClientRects()[0];
    }
  }
docs: ------ internal functions ------