Home
last modified time | relevance | path

Searched refs:useThrottle (Results 1 – 8 of 8) sorted by relevance

/expo/packages/expo-dev-launcher/bundle/components/
H A DFlatList.tsx9 import { useThrottle } from '../hooks/useDebounce';
32 const throttledRefresh = useThrottle(isRefreshing, 800);
/expo/packages/expo-dev-launcher/bundle/hooks/__mocks__/
H A DuseDebounce.tsx2 export const useThrottle = jest.fn().mockImplementation((val: any) => val);
/expo/home/screens/BranchDetailsScreen/
H A DBranchDetailsView.tsx15 import { useThrottle } from '../../utils/useThrottle';
34 const refetching = useThrottle(networkStatus === NetworkStatus.refetch, 800);
/expo/home/utils/
H A DuseThrottle.ts3 export function useThrottle<T>(value: T, interval = 500): T { function
/expo/packages/expo-dev-launcher/bundle/hooks/
H A DuseDebounce.tsx25 export function useThrottle<T>(value: T, interval = 500): T {
/expo/packages/expo-dev-launcher/bundle/screens/
H A DExtensionsScreen.tsx23 import { useThrottle } from '../hooks/useDebounce';
48 const throttledRefreshing = useThrottle(isRefreshing, 1000);
/expo/packages/expo-dev-launcher/ios/
H A Dmain.jsbundle1271 …t.isLoading,s=t.isRefreshing,p=t.onRefresh,y=(0,o.default)(t,u),b=(0,f.useThrottle)(s,800);if(n)re…
1272 …(function(){s(t)}),o);return function(){clearTimeout(n)}}),[t,o]),l},e.useThrottle=function(t){var…
1276 …yBranches,R=z.incompatibleBranches,E=z.isRefreshing,T=z.refetch,O=(0,h.useThrottle)(E,1e3);var A=[…
/expo/packages/expo-dev-launcher/android/src/debug/assets/
H A Dexpo_dev_launcher_android.bundle1272 …t.isLoading,s=t.isRefreshing,p=t.onRefresh,y=(0,o.default)(t,u),b=(0,f.useThrottle)(s,800);if(n)re…
1273 …(function(){s(t)}),o);return function(){clearTimeout(n)}}),[t,o]),l},e.useThrottle=function(t){var…
1277 …yBranches,R=z.incompatibleBranches,E=z.isRefreshing,T=z.refetch,O=(0,h.useThrottle)(E,1e3);var A=[…