React Router von Remix
Version 7.6.1 behebt mehrere Fehler
React Router 7.6.1 korrigiert Probleme bei matchRoutes, href-Ersetzungen mit Splats sowie 404-Fehler beim Lazy Route Discovery.
Date: 2025-05-25
Patch Changes
react-router- Partially revert optimization added in7.1.4to reduce calls tomatchRoutesbecause it surfaced other issues (#13562)react-router- UpdateRoute.MetaArgsto reflect thatdatacan be potentiallyundefined(#13563)- This is primarily for cases where a route
loaderthrew an error to it's ownErrorBoundary, but it also arises in the case of a 404 which renders the rootErrorBoundary/metabut the rootloaderdid not run because not routes matched
- This is primarily for cases where a route
react-router- Avoid initial fetcher execution 404 error when Lazy Route Discovery is interrupted by a navigation (#13564)react-router- Properlyhrefreplaces splats*(#13593)href("/products/*", { "*": "/1/edit" }); // -> /products/1/edit
@react-router/architect- Update@architect/functionsfrom^5.2.0to^7.0.0(#13556)@react-router/dev- Prevent typegen with route files that are outside theapp/directory (#12996) …