Skip to content
API/ReactRouterAdapterOptions

ReactRouterAdapterOptions

type
src/types/react-router-adapter-options.type.ts1 member

Options of useReactRouterAdapter.

import type { ReactRouterAdapterOptions } from '@qubeejs/react/react-router';
type ReactRouterAdapterOptions = { … }
Member Type Description
scroll? boolean Let React Router reset the scroll position when a list navigates, as its <ScrollRestoration> does for links. Default false: a filter or a page number that changes keeps the reader where they are.