Minor Changes
-
Expose
context.routeron request contextEach router request context now gets the owning
Routerassigned ascontext.routerbycreateRouter()whenfetch()is called. This lets framework helpers read router state directly fromRequestContextinstead of requiring app-level middleware to store the router incontext.storage. -
Added a new
@remix-run/fetch-router/routesexport exporting route creation utilitiesThis has been decoupled from the main
@remix-run/fetch-routerexports so that it can be used by applicationroutes.tsfiles intended to be loaded by the client, without pulling in server-side-specific underlying packages such as@remix-run/session.
Patch Changes
- Bumped
@remix-run/*dependencies: