Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
7
node_modules/next/dist/client/components/router-reducer/apply-router-state-patch-to-tree.d.ts
generated
vendored
Normal file
7
node_modules/next/dist/client/components/router-reducer/apply-router-state-patch-to-tree.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import type { FlightRouterState, FlightSegmentPath } from '../../../server/app-render/types';
|
||||
/**
|
||||
* Apply the router state from the Flight response, but skip patching default segments.
|
||||
* Useful for patching the router cache when navigating, where we persist the existing default segment if there isn't a new one.
|
||||
* Creates a new router state tree.
|
||||
*/
|
||||
export declare function applyRouterStatePatchToTree(flightSegmentPath: FlightSegmentPath, flightRouterState: FlightRouterState, treePatch: FlightRouterState, path: string): FlightRouterState | null;
|
||||
Loading…
Add table
Add a link
Reference in a new issue