code: function mount(tags, opts){
    opts = opts || {};
    var component, wrapper;
  
    // Get HTML nodes that need to be mounted.
    var nodes = getNodes(tags, opts.context || document.body);
    
    for(var i=0; i<nodes.length; i++) {
  
      // create component to be mounted
      component = htmlToComponent(nodes[i].outerHTML, tags, opts);
  
      // get wrapper to mount into
      wrapper = typeof opts.wrapper === "object" && typeof opts.wrapper.cloneNode === "function"?
        opts.wrapper.cloneNode(false):
        document.createElement('div');
  
      wrapper.className += wrapper.className ? " react-mount":"react-mount";
  
      // Replace tag with wrapper
      nodes[i].parentNode.replaceChild(wrapper, nodes[i]);
  
      // Render component into wrapper.
      React.render(component, wrapper);
    }
  }
docs: /////////////////////////////////////////////////////////////////////////////