Home
last modified time | relevance | path

Searched refs:hooks (Results 1 – 25 of 104) sorted by relevance

12345

/expo/packages/expo-dev-menu/app/components/
H A DAppProviders.tsx4 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 Dexit.ts57 const hooks: [NodeJS.Signals, () => any][] = []; constant
60 hooks.push([signal, hook]);
64 for (const [signal, hook] of hooks) {
/expo/
H A D.envrc30 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 Dhooks.d.ts.map1 {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/web/hooks.ts"],"names":[],"m…
/expo/packages/expo-router/build/
H A Dhooks.d.ts.map1 {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../src/hooks.ts"],"names":[],"mappings…
/expo/packages/@expo/cli/
H A Dgraphql-codegen.yml13 hooks:
/expo/docs/pages/build-reference/
H A Dnpm-hooks.mdx2 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 De2e-tests.mdx276 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 Dtesting.mdx90 …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 Dtyped-routes.mdx12 …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 Dsearch-parameters.mdx11 …. 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 Dfrom-react-navigation.mdx182 ### 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…
313hooks/#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 DConfig-test.ts45 hooks: {
99 expect(exp.hooks).toBeUndefined();
/expo/packages/eslint-config-universe/
H A DCHANGELOG.md34 - 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 DFlatList.tsx9 import { useThrottle } from '../hooks/useDebounce';
/expo/docs/components/base/languages/
H A Dgroovy.ts47 Prism.hooks.add('wrap', (env: any) => {
/expo/packages/expo-branch/ios/EXBranch/
H A DEXBranchManager.m17 #pragma mark - linking hooks
/expo/packages/eslint-config-universe/__tests__/__snapshots__/
H A Dnative-test.js.snap434 "ruleId": "react-hooks/rules-of-hooks",
455 "ruleId": "react-hooks/rules-of-hooks",
H A Dweb-test.js.snap434 "ruleId": "react-hooks/rules-of-hooks",
455 "ruleId": "react-hooks/rules-of-hooks",
/expo/packages/expo-dev-launcher/bundle/providers/
H A DDevSessionsProvider.tsx5 import { useIsMounted } from '../hooks/useIsMounted';
/expo/packages/expo-image/src/web/
H A DImageWrapper.tsx6 import { useHeaders, useImageHashes } from './hooks';
/expo/packages/expo-router/src/views/
H A DUnmatched.tsx5 import { usePathname, useRouter } from '../hooks';
/expo/packages/expo-splash-screen/build/
H A Dindex.js.map1 …obal scope without awaiting, rather than\n * > inside React components or hooks, because otherwise…
/expo/packages/expo-router/src/global-state/
H A Drouter-store.tsx105 * - 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 DConfig.ts139 if (configWithDefaultValues.exp.hooks) {
140 delete configWithDefaultValues.exp.hooks;

12345