This document provides a comprehensive suite of matrix configurations for a hybrid architecture combining Storefront Next (Modern React Router 7 Stack) and SFRA / SiteGenesis (Legacy Salesforce Commerce Cloud).
HYBRID_ROUTING_RULES: An optimized, single-expression Cloudflare pattern utilized by the Edge, Vite Proxy, and MRT Runtime. It natively handles optional/:siteId/:localeprefixes using^(/[^/]+/[^/]+)?.PUBLIC__app__hybrid__legacyRoutes: A JSON array used by the React client-side routing middleware to trigger an ejection when a shopper navigates via SPA links.