docs: function createRoutesFromReactChildren(children) {
    var routes = [];
  
    React.Children.forEach(children, function (child) {
      if (child = createRouteFromReactElement(child)) routes.push(child);
    });
  
    return routes;
  }