docs: function render(history, routes, store) {
      const resolve = resolver(routes);
  
      return function(location) {
          resolve(location)
          .then(config => {
               renderPage(config.page(store, history), routes);
               const actionParams = config.matchRoute(location.pathname).params;
               config.driverInstance.dispatchAction(store.dispatch, actionParams);
          })
          .catch(error =>
              resolve({location, error})
                  .then(errorConfig => renderPage(errorConfig.page(store, history)))); 
      }
  }