@vowel.to/client / index / ReactRouterAdaptersOptions
Interface: ReactRouterAdaptersOptions
Defined in: lib/vowel/adapters/helpers.ts:315
Options for creating React Router adapters
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
navigate | ReactRouterNavigateFunction | Navigate function from useNavigate() hook | lib/vowel/adapters/helpers.ts:319 |
location | ReactRouterLocation | Location object from useLocation() hook | lib/vowel/adapters/helpers.ts:324 |
routes? | VowelRoute[] | Optional: Array of routes | lib/vowel/adapters/helpers.ts:329 |
enableAutomation? | boolean | Enable automation (default: true) Set to false to disable page interaction | lib/vowel/adapters/helpers.ts:335 |
useReplace? | boolean | Optional: Whether to use replace instead of push for navigation Default: false | lib/vowel/adapters/helpers.ts:341 |