src/render/traverse.js
function evalComponent (seq, node, context) {
  const Component = node.type;

  const componentContext = getContext(Component, context);
  const instance = constructComponent(Component, node.props, componentContext);
  const renderedElement = renderComponentInstance(instance, node.props, componentContext);

  const childContext = getChildContext(Component, instance, context);
  traverse({
    seq,
    node: renderedElement,
    context: childContext,
    parent: node
  });
}
function evalComponent (seq, node, context) {
  const Component = node.type;

  const componentContext = getContext(Component, context);
  const instance = constructComponent(Component, node.props, componentContext);
  const renderedElement = renderComponentInstance(instance, node.props, componentContext);

  const childContext = getChildContext(Component, instance, context);
  traverse({
    seq,
    node: renderedElement,
    context: childContext,
    parent: node
  });
}
function evalComponent ( seq , node , context ) { const Component = node . type ; const componentContext = getContext ( Component , context ) ; const instance = constructComponent ( Component , node . props , componentContext ) ; const renderedElement = renderComponentInstance ( instance , node . props , componentContext ) ; const childContext = getChildContext ( Component , instance , context ) ; traverse ( { seq , node : renderedElement , context : childContext , parent : node } ) ; }
Prior to being rendered, React components are represented in the same
way as true HTML DOM elements.  This function evaluates the component
and traverses through its rendered elements.

@param      {Sequence}  seq      Sequence that receives HTML segments.
@param      {VDOM}      node     VOM node (of a component).
@param      {Object}    context  React context.

@return     {undefined}          No return value.
Prior to being rendered React components are represented in the same way as true HTML DOM elements . This function evaluates the component and traverses through its rendered elements .