docs: function () {
        if (this.state) {
          _routerUtils.forEach(this.state.handlerInfos.slice().reverse(), function (handlerInfo) {
            var handler = handlerInfo.handler;
            _routerUtils.callHook(handler, 'exit');
          });
        }
  
        this.state = new _routerTransitionState.default();
        this.currentHandlerInfos = null;
      }