• Render virtual DOM content into a host element.

    Parameters

    • content: null | VirtualNode | readonly VirtualNode[]

      The virtual DOM content to render.

    • host: HTMLElement

      The host element for the rendered content.

      Notes

      This renders the delta from the previous rendering. It assumes that the content of the host element is not manipulated by external code.

      Providing null content will clear the rendering.

      Externally modifying the provided content or the host element will result in undefined rendering behavior.

    Returns void