render = (result, container, options) => {
    let part = parts.get(container);
    if (part === undefined) {
        removeNodes(container, container.firstChild);
        parts.set(container, part = new NodePart(Object.assign({ templateFactory }, options)));
        part.appendInto(container);
    }
    part.setValue(result);
    part.commit();
}
Renders a template to a container.

To update a container with new values, reevaluate the template literal and
call `render` with the new result.

@param result a TemplateResult created by evaluating a template tag like
    `html` or `svg`.
@param container A DOM parent to render to. The entire contents are either
    replaced, or efficiently updated if the same result type was previous
    rendered there.
@param options RenderOptions for the entire render tree rendered to this
    container. Render options must *not* change between renders to the same
    container, as those changes will not effect previously rendered DOM.