code: function(constructor, props, id) {
      var domNode = document.getElementById(id);
      ("production" !== "development" ? invariant(
        domNode,
        'Tried to get element with id of "%s" but it is not present on the page.',
        id
      ) : invariant(domNode));
      return ReactMount.constructAndRenderComponent(constructor, props, domNode);
    }
docs: Constructs a component instance of `constructor` with `initialProps` and
  renders it into a container node identified by supplied `id`.
  
  @param {function} componentConstructor React component constructor
  @param {?object} props Initial props of the component instance.
  @param {string} id ID of the DOM element to render into.
  @return {ReactComponent} Component instance rendered in the container node.