Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UNSAFE_useScrollRestoration

When rendered inside a RouterProvider, will restore scroll positions on navigations

function UNSAFE_useScrollRestoration({ getKey, storageKey }?: {
storageKey?: string;
}
): void;
§
UNSAFE_useScrollRestoration({ getKey, storageKey }?: {
storageKey?: string;
}
): void
[src]

§Parameters

§
{ getKey, storageKey }?: {
storageKey?: string;
}
optional
[src]

§Return Type