docs: function transitionTo(to, params, query) {
          var path = Router.makePath(to, params, query);
  
          if (pendingTransition) {
            // Replace so pending location does not stay in history.
            location.replace(path);
          } else {
            location.push(path);
          }
        }