React Router 7.9.0 introduces stable middleware functionality via the future.v8_middleware flag, addressing long-standing limitations with parallel loader execution. The new middleware API enables sequential logic execution, data sharing between parent and child routes, and proper short-circuiting capabilities. This feature required architectural changes including Single Fetch and the dataStrategy API to provide shared request context between loaders, making middleware both cleaner and more performant by reducing database calls.
Sort: