• Preparing search index...
  • The search index is not available
@xarc/react-router
  • @xarc/react-router
  • browser
  • ReactRouterDom
  • useResolvedPath

Function useResolvedPath

  • useResolvedPath(to, __namedParameters?): Path
  • Resolves the pathname of the given to value against the current location.

    Parameters

    • to: To
    • Optional __namedParameters: {
          relative?: RelativeRoutingType;
      }
      • Optional relative?: RelativeRoutingType

    Returns Path

    See

    https://reactrouter.com/hooks/use-resolved-path

    • Defined in common/temp/node_modules/.pnpm/react-router@6.23.1_react@18.3.1/node_modules/react-router/dist/lib/hooks.d.ts:87

Settings

Member Visibility

Theme

@xarc/react-router
  • Loading...

Generated using TypeDoc