Shared React Router utilities, including locale-aware routing helpers.
Centralizes routing helpers used by the app and by test utilities — typed hrefs, locale-prefixed routes, and a router middleware helper.
From src/index.ts:
middleware,type MiddlewareProps— router middleware helper.createHrefTyped,type PathParams— build type-safe hrefs.patchToWithLocale— locale-prefix a route target.useIsRouteMatched— check whether a route matches.makeRoutesWithLocale,type RouteObject,type RouteObjectWithLocales— build locale-aware route trees.
- No workspace packages.
apps/web,@languages-learner/playwright-utils.
- Scripts and how to run: README
- Package interaction: docs/architecture/package-interaction.md