| /expo/packages/expo-dev-menu/app/components/ |
| H A D | AppProviders.tsx | 4 import { AppInfoContextProvider, AppInfoContextProviderProps } from '../hooks/useAppInfo'; 5 import { DevSettingsProviderProps, DevSettingsProvider } from '../hooks/useDevSettings'; 6 import { MenuPreferencesProvider, MenuPreferencesProviderProps } from '../hooks/useMenuPreferences';
|
| /expo/packages/@expo/cli/src/utils/ |
| H A D | exit.ts | 57 const hooks: [NodeJS.Signals, () => any][] = []; constant 60 hooks.push([signal, hook]); 64 for (const [signal, hook] of hooks) {
|
| /expo/ |
| H A D | .envrc | 30 for path in scripts/git-hooks/*; do 32 ln -sf "../../scripts/git-hooks/$filename" ".git/hooks/$filename"
|
| /expo/packages/expo-image/build/web/ |
| H A D | hooks.d.ts.map | 1 {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/web/hooks.ts"],"names":[],"m…
|
| /expo/packages/expo-router/build/ |
| H A D | hooks.d.ts.map | 1 {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.ts"],"names":[],"mappings…
|
| /expo/packages/@expo/cli/ |
| H A D | graphql-codegen.yml | 13 hooks:
|
| /expo/docs/pages/build-reference/ |
| H A D | npm-hooks.mdx | 2 title: Build lifecycle hooks 3 description: Learn how to use the EAS Build lifecycle hooks with npm to customize your build proces… 6 There are five EAS Build lifecycle npm hooks that you can set in your **package.json**. See the [An… 17 Below is an example of how your **package.json** can look with lifecycle hooks:
|
| H A D | e2e-tests.mdx | 276 Create **eas-hooks/eas-build-pre-install.sh** that installs the necessary tools and dependencies fo… 278 ```sh eas-hooks/eas-build-pre-install.sh 321 Next, create **eas-hooks/eas-build-on-success.sh** with the following contents. The script runs dif… 323 ```sh eas-hooks/eas-build-on-success.sh 371 Edit **package.json** to use [EAS Build hooks](/build-reference/npm-hooks.mdx) to run the above scr… 376 "eas-build-pre-install": "./eas-hooks/eas-build-pre-install.sh", 377 "eas-build-on-success": "./eas-hooks/eas-build-on-success.sh" 382 …ons to **eas-build-pre-install.sh** and **eas-build-on-success.sh**. Run `chmod +x eas-hooks/*.sh`. 636 <Collapsible summary="eas-hooks/eas-build-on-success.sh">
|
| /expo/docs/pages/router/reference/ |
| H A D | testing.mdx | 90 …ring. The matcher uses the value of the [`usePathname`](/router/reference/hooks/#usepathname) hook… 99 …ings. The matcher uses the value of the [`useSegments`](/router/reference/hooks/#usesegments) hook… 108 … matcher uses the value of the [`useLocalSearchParams`](/router/reference/hooks/#uselocalsearchpar… 117 …. Compares using the value of [`useGlobalSearchParams`](/router/reference/hooks/#useglobalsearchpa… 119 …matcher uses the value of the [`useGlobalSearchParams`](/router/reference/hooks/#useglobalsearchpa…
|
| H A D | typed-routes.mdx | 12 …tomatically with Expo CLI. This enables `<Link>`, and the [hooks API](/router/reference/hooks) to … 74 You can leverage the `useSegments()` hooks from `expo-router` to create complex relative paths. Con… 130 … by passing a generic to the `useLocalSearchParams` and `useGlobalSearchParams` hooks. For example:
|
| H A D | search-parameters.mdx | 11 …. They are commonly used to pass data between pages. Expo Router provides hooks for accessing and … 13 … new route is pushed. Because of this, Expo Router provides two different hooks for accessing sear… 18 Both hooks are typed and accessed the same way. However, the only difference is how frequently they…
|
| /expo/docs/pages/router/migrate/ |
| H A D | from-react-navigation.mdx | 182 ### Using Expo Router hooks 201 Similarly, migrate from the `route` prop to the `useLocalSearchParams` hooks. 283 …usePathname()`](/router/reference/hooks/#usepathname) or [`useSegments()`](/router/reference/hooks… 287 Use the [`useLocalSearchParams()`](/router/reference/hooks/#uselocalsearchparams) hook to get the c… 295 …usePathname()`](/router/reference/hooks/#usepathname) or [`useSegments()`](/router/reference/hooks… 299 Use the [`useLocalSearchParams()`](/router/reference/hooks/#uselocalsearchparams) hook to get the c… 313 …hooks/#usepathname), [`useSegments()`](/router/reference/hooks/#usesegments), and [`useGlobalSearc… 445 …irectly, consider migrating to the `usePathname`, `useSegments`, and `useGlobalSearchParams` hooks.
|
| /expo/packages/@expo/config/src/__tests__/ |
| H A D | Config-test.ts | 45 hooks: { 99 expect(exp.hooks).toBeUndefined();
|
| /expo/packages/eslint-config-universe/ |
| H A D | CHANGELOG.md | 34 - Bumped `eslint-plugin-react-hooks` from 4.5.0 to 4.6.0. ([#20374](https://github.com/expo/expo/pu… 52 - Bumped `eslint-plugin-react-hooks` from 4.3.0 to 4.5.0. ([#17709](https://github.com/expo/expo/pu… 82 - Bumped `eslint-plugin-react` from 7.24.0 to 7.28.0 and `"eslint-plugin-react-hooks` from 4.2.0 to… 109 - `eslint-plugin-react-hooks` updated to 4.2.0, 163 - Added `react-hooks/rules-of-hooks` (`react-hooks/exhaustive-deps` is turned off; enable it in you…
|
| /expo/packages/expo-dev-launcher/bundle/components/ |
| H A D | FlatList.tsx | 9 import { useThrottle } from '../hooks/useDebounce';
|
| /expo/docs/components/base/languages/ |
| H A D | groovy.ts | 47 Prism.hooks.add('wrap', (env: any) => {
|
| /expo/packages/expo-branch/ios/EXBranch/ |
| H A D | EXBranchManager.m | 17 #pragma mark - linking hooks
|
| /expo/packages/eslint-config-universe/__tests__/__snapshots__/ |
| H A D | native-test.js.snap | 434 "ruleId": "react-hooks/rules-of-hooks", 455 "ruleId": "react-hooks/rules-of-hooks",
|
| H A D | web-test.js.snap | 434 "ruleId": "react-hooks/rules-of-hooks", 455 "ruleId": "react-hooks/rules-of-hooks",
|
| /expo/packages/expo-dev-launcher/bundle/providers/ |
| H A D | DevSessionsProvider.tsx | 5 import { useIsMounted } from '../hooks/useIsMounted';
|
| /expo/packages/expo-image/src/web/ |
| H A D | ImageWrapper.tsx | 6 import { useHeaders, useImageHashes } from './hooks';
|
| /expo/packages/expo-router/src/views/ |
| H A D | Unmatched.tsx | 5 import { usePathname, useRouter } from '../hooks';
|
| /expo/packages/expo-splash-screen/build/ |
| H A D | index.js.map | 1 …obal scope without awaiting, rather than\n * > inside React components or hooks, because otherwise…
|
| /expo/packages/expo-router/src/global-state/ |
| H A D | router-store.tsx | 105 * - Ensuring hooks (e.g. useSearchParams()) have data in the initial render 109 …* Additionally, some hooks compare the state from both the store and the navigationRef. If the sto… 110 * that hooks will manually update the store.
|
| /expo/packages/@expo/config/src/ |
| H A D | Config.ts | 139 if (configWithDefaultValues.exp.hooks) { 140 delete configWithDefaultValues.exp.hooks;
|