Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure client cache keys match between prefetch and transition (#38089)
* Ensure client cache keys match between prefetch and transition * handle some middleware cases * lint-fix * fix lint rename
- Loading branch information
Showing
2 changed files
with
148 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pathname !== parsed.pathname
when there's abasePath
configured (pathname
does not have thebasePath
, butparsed.pathname
does), which means the query params are removed.this means that the client-side routing is missing query params when a
basePath
is configured for me.