src/http/get-index/ssr.js
/**
 * Renders a DOM node or an array of DOM nodes to a string.
 *
 * Can be thought of as the equivalent of the `outerHTML` of the passed node(s).
 *
 * @param node Node to be rendered.
 * @param options Changes serialization behavior
 */
Renders a DOM node or an array of DOM nodes to a string.
Can be thought of as the equivalent of the `outerHTML` of the passed node(s).

@param node Node to be rendered.
@param options Changes serialization behavior
Renders a DOM node or an array of DOM nodes to a string . Can be thought of as the equivalent of the ` outerHTML ` of the passed node ( s ) . @param node Node to be rendered . @param options Changes serialization behavior
function render$2(node, options) {
  if (options === void 0) {options = {};}
  var nodes = "length" in node ? node : [node];
  var output = "";
  for (var i = 0; i < nodes.length; i++) {
    output += renderNode(nodes[i], options);
  }
  return output;
}
function render$2 ( node , options ) { if ( options === void 0 ) { options = { } ; } var nodes = "length" in node ? node : [ node ] ; var output = "" ; for ( var i = 0 ; i < nodes . length ; i ++ ) { output += renderNode ( nodes [ i ] , options ) ; } return output ; }
Renders a DOM node or an array of DOM nodes to a string.
Renders a DOM node or an array of DOM nodes to a string .