| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
size-limit report 📦
|
Sorry, something went wrong.
Both routers already ship a pure matcher: the App Router has the build-time route manifest behind `maybeParameterizeRoute`, and the Pages Router matches against `__BUILD_MANIFEST.sortedPages`. Neither was reachable from anywhere except the pageload and navigation instrumentation. The two want the pathname differently, since App Router routes are generated with `basePath` baked in while Next strips it internally for the Pages Router, so the provider normalizes per manifest.
| Back | FazBrowse Home | New Git URL |
Registers a route provider covering both the Next.js App Router and Pages Router.
Both already ship a pure matcher: the App Router has the build-time route manifest behind maybeParameterizeRoute, and the Pages Router matches against __BUILD_MANIFEST.sortedPages. Neither was reachable from anywhere except the pageload and navigation instrumentation.
The two want the pathname differently, since App Router routes are generated with basePath baked in while Next strips it internally for the Pages Router, so the provider normalizes per manifest.
Part of #23556