Why is the App Bridge Redirect not functioning properly?

URL in address bar changed and also has PostMessage:

{
  "payload": {
    "payload": {
      "id": "",
      "path": "/login?shop=xx.myshopify.com"
    },
    "group": "Navigation",
    "type": "APP::NAVIGATION::REDIRECT::APP",
    "version": "2.0.5",
    "clientInterface": {
      "name": "@shopify/app-bridge-react",
      "version": "2.0.5"
    }
  },
  "source": {
    "apiKey": "",
    "host": "",
    "shopOrigin": "",
    "forceRedirect": true
  },
  "type": "dispatch"
}

I think I’ve found the reason.

ClientRouter cause App Bridge Redirect.Action.APP not working.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.handleRouteChange = void 0;
var actions_1 = require("@shopify/app-bridge/actions");
function handleRouteChange(app, history) {
    return app.subscribe(actions_1.Redirect.Action.APP, function (_a) {
        var path = _a.path;
        history.replace(path);
    });
}
exports.handleRouteChange = handleRouteChange;