| /expo/packages/expo-router/build/ |
| H A D | hooks.js | 6 exports.useLocalSearchParams = exports.useGlobalSearchParams = exports.usePathname = exports.useSeg… 65 function usePathname() { function 68 exports.usePathname = usePathname;
|
| H A D | exports.d.ts | 2 export { useRouter, useUnstableGlobalHref, usePathname, useGlobalSearchParams, useLocalSearchParams…
|
| H A D | hooks.d.ts | 33 export declare function usePathname(): string;
|
| H A D | exports.js | 3 …exports.useLocalSearchParams = exports.useGlobalSearchParams = exports.usePathname = exports.useUn… 11 …ty(exports, "usePathname", { enumerable: true, get: function () { return hooks_1.usePathname; } });
|
| H A D | exports.js.map | 1 …ews/Navigator';\n\nexport {\n useRouter,\n useUnstableGlobalHref,\n usePathname,\n useGlobalSe…
|
| H A D | hooks.js.map | 1 …global selected pathname without query parameters. */\nexport function usePathname(): string {\n …
|
| /expo/apps/router-e2e/__e2e__/static-rendering/app/ |
| H A D | +html.tsx | 3 import { usePathname } from 'expo-router'; 8 const pathname = usePathname();
|
| /expo/packages/expo-router/src/ |
| H A D | exports.ts | 7 usePathname,
|
| H A D | hooks.ts | 67 export function usePathname(): string { function
|
| /expo/docs/pages/router/reference/ |
| H A D | screen-tracking.mdx | 17 import { usePathname, useGlobalSearchParams, Slot } from 'expo-router'; 20 const pathname = usePathname();
|
| H A D | hooks.mdx | 118 <APIBox header="usePathname"> 127 import { usePathname } from 'expo-router'; 132 const pathname = usePathname();
|
| H A D | testing.mdx | 90 Assert the current pathname against a given string. The matcher uses the value of the [`usePathname…
|
| /expo/packages/expo-router/src/views/ |
| H A D | Unmatched.tsx | 5 import { usePathname, useRouter } from '../hooks'; 28 const pathname = usePathname();
|
| /expo/packages/expo-router/src/__tests__/ |
| H A D | hooks.test.node.tsx | 6 import { useGlobalSearchParams, useLocalSearchParams, usePathname, useSegments } from '../hooks'; 100 url: usePathname(), 159 url: usePathname(), 249 describe(usePathname, () => { 251 const { result } = renderHook(() => usePathname(), ['[fruit]/[shape]/[...veg?]'], {
|
| H A D | navigation.test.tsx | 11 usePathname, 602 const pathname = usePathname(); 617 const pathname = usePathname();
|
| /expo/packages/expo-router/build/views/ |
| H A D | Unmatched.js | 28 const pathname = (0, hooks_1.usePathname)();
|
| H A D | Unmatched.js.map | 1 …usePathname, useRouter } from '../hooks';\nimport { Link } from '../link/Link';\nimport { useNavig…
|
| /expo/docs/pages/router/migrate/ |
| H A D | from-react-navigation.mdx | 283 … Expo Router can reliably represent any route with a string. Use the [`usePathname()`](/router/ref… 295 Use the [`usePathname()`](/router/reference/hooks/#usepathname) or [`useSegments()`](/router/refere… 313 Use the [`usePathname()`](/router/reference/hooks/#usepathname), [`useSegments()`](/router/referenc… 406 import { Navigator, usePathname, Slot, Link } from 'expo-router'; 421 const pathname = usePathname(); 445 If you're observing the navigation state directly, consider migrating to the `usePathname`, `useSeg…
|
| /expo/packages/expo-router/src/head/ |
| H A D | ExpoHead.ios.tsx | 6 import { useLocalSearchParams, useUnstableGlobalHref, usePathname, useSegments } from '../hooks'; 206 const activityId = urlToId(usePathname() || '/');
|
| /expo/packages/expo-router/build/head/ |
| H A D | ExpoHead.ios.js | 166 const activityId = urlToId((0, hooks_1.usePathname)() || '/');
|
| H A D | ExpoHead.ios.js.map | 1 …usePathname, useSegments } from '../hooks';\n\nfunction urlToId(url: string) {\n return url.repla…
|
| /expo/packages/@expo/cli/e2e/__tests__/export/__snapshots__/ |
| H A D | static-rendering.test.ts.snap | 3 exports[`exports static supports usePathname in +html files 1`] = `
|