@@ -1454,7 +1454,6 @@ export class RouterCore<
14541454 __routeContext : undefined ,
14551455 _nonReactive : {
14561456 loadPromise : createControlledPromise ( ) ,
1457- __beforeLoadContext : undefined ,
14581457 error : ( existingMatch as any ) ?. _nonReactive ?. error ,
14591458 } ,
14601459 __beforeLoadContext : undefined ,
@@ -1489,7 +1488,7 @@ export class RouterCore<
14891488 match . context = {
14901489 ...parentContext ,
14911490 ...match . __routeContext ,
1492- ...match . _nonReactive . __beforeLoadContext ,
1491+ ...match . __beforeLoadContext ,
14931492 }
14941493
14951494 matches . push ( match )
@@ -1529,7 +1528,7 @@ export class RouterCore<
15291528 match . context = {
15301529 ...parentContext ,
15311530 ...match . __routeContext ,
1532- ...match . _nonReactive . __beforeLoadContext ,
1531+ ...match . __beforeLoadContext ,
15331532 }
15341533 }
15351534 } )
@@ -2298,7 +2297,7 @@ export class RouterCore<
22982297
22992298 updateMatch : UpdateMatchFn = ( id , updater ) => {
23002299 // Wrap in startTransition to prevent Suspense fallbacks
2301- // Context is stored in _nonReactive .__beforeLoadContext so it's immediately readable
2300+ // Context is stored in .__beforeLoadContext so it's immediately readable
23022301 this . startTransition ( ( ) => {
23032302 const matchesKey = this . state . pendingMatches ?. some ( ( d ) => d . id === id )
23042303 ? 'pendingMatches'
0 commit comments