src/makeViewFactoryForMatch.js
function makeViewFactoryForMatch(match) {
  var views = {};

  for (var i = match.activeTrace.length - 1; i >= 0; i--) {
    var step = match.activeTrace[i];
    var stepProps = getStepProps(step);

    views = merge(views, collectSubViews(stepProps, views));

    if (step.route.view !== undefined) {
      return makeViewFactory(step.route.view, merge(stepProps, views));
    }
  }
}
function makeViewFactoryForMatch(match) {
  var views = {};

  for (var i = match.activeTrace.length - 1; i >= 0; i--) {
    var step = match.activeTrace[i];
    var stepProps = getStepProps(step);

    views = merge(views, collectSubViews(stepProps, views));

    if (step.route.view !== undefined) {
      return makeViewFactory(step.route.view, merge(stepProps, views));
    }
  }
}
function makeViewFactoryForMatch ( match ) { var views = { } ; for ( var i = match . activeTrace . length - 1 ; i >= 0 ; i -- ) { var step = match . activeTrace [ i ] ; var stepProps = getStepProps ( step ) ; views = merge ( views , collectSubViews ( stepProps , views ) ) ; if ( step . route . view !== undefined ) { return makeViewFactory ( step . route . view , merge ( stepProps , views ) ) ; } } }
Make view factory for a match object

@param {Match} match
@param {Object} props
@returns {ReactComponent}
Make view factory for a match object