useScrollRestoration

external fun useScrollRestoration(options: UseScrollRestorationOptions = definedExternally)(source)

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