v6.4.2
What's Changed
- Respect
basenameinuseFormAction(#9352) - Fix
IndexRouteObjectandNonIndexRouteObjecttypes to makehasErrorElementoptional (#9394) - Enhance console error messages for invalid usage of data router hooks (#9311)
- If an index route has children, it will result in a runtime error. We have strengthened our
RouteObject/RoutePropstypes to surface the error in TypeScript. (#9366)
Full Changelog: https://github.com/remix-run/react-router/compare/react-router@6.4.1...react-router@6.4.2