Skip to main content

Interface: IRouterOptions

Properties

autoCreateHistory

Optional autoCreateHistory: boolean

auto create history and handle middleware

Defined in

packages/reactant-router/src/router.tsx:42


autoProvide

Optional autoProvide: boolean

Auto provider injection.

Defined in

packages/reactant-router/src/router.tsx:38


createHistory

createHistory: () => History<unknown>

Type declaration

▸ (): History<unknown>

create history for router, use createHashHistory/createBrowserHistory/createMemoryHistory

Returns

History<unknown>

Defined in

packages/reactant-router/src/router.tsx:34