executeTemplate = (template, component) => {
    const tagsToScope = getTagsToScope(component);
    const scope = (0, _CustomElementsScopeUtils.getCustomElementsScopingSuffix)();
    return template.call(component, component, tagsToScope, scope);
  }
Runs a component's template with the component's current state, while also scoping HTML

@param template - the template to execute
@param component - the component
@public