diff --git a/packages/react-server/core/ClientController.js b/packages/react-server/core/ClientController.js index 7f0f00885..7ce29facb 100644 --- a/packages/react-server/core/ClientController.js +++ b/packages/react-server/core/ClientController.js @@ -45,7 +45,7 @@ function getHistoryStateFrame(request) { } function getHistoryPathname() { - return location.pathname + location.search; + return location.pathname + location.search + location.hash; } class ClientController extends EventEmitter {