docs: function initEnhancers(routes) {
      invariant(routes.filter(actionConfig => !actionConfig.driverInstance).length===0, 'Routes must have instantiated drivers');
  
      return routes
          .filter(actionConfig => actionConfig.driverInstance.middleware)
          .map(actionConfig => actionConfig.driverInstance.middleware());
  }