Searched refs:useThrottle (Results 1 – 8 of 8) sorted by relevance
| /expo/packages/expo-dev-launcher/bundle/components/ |
| H A D | FlatList.tsx | 9 import { useThrottle } from '../hooks/useDebounce'; 32 const throttledRefresh = useThrottle(isRefreshing, 800);
|
| /expo/packages/expo-dev-launcher/bundle/hooks/__mocks__/ |
| H A D | useDebounce.tsx | 2 export const useThrottle = jest.fn().mockImplementation((val: any) => val);
|
| /expo/home/screens/BranchDetailsScreen/ |
| H A D | BranchDetailsView.tsx | 15 import { useThrottle } from '../../utils/useThrottle'; 34 const refetching = useThrottle(networkStatus === NetworkStatus.refetch, 800);
|
| /expo/home/utils/ |
| H A D | useThrottle.ts | 3 export function useThrottle<T>(value: T, interval = 500): T { function
|
| /expo/packages/expo-dev-launcher/bundle/hooks/ |
| H A D | useDebounce.tsx | 25 export function useThrottle<T>(value: T, interval = 500): T {
|
| /expo/packages/expo-dev-launcher/bundle/screens/ |
| H A D | ExtensionsScreen.tsx | 23 import { useThrottle } from '../hooks/useDebounce'; 48 const throttledRefreshing = useThrottle(isRefreshing, 1000);
|
| /expo/packages/expo-dev-launcher/ios/ |
| H A D | main.jsbundle | 1271 …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 D | expo_dev_launcher_android.bundle | 1272 …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=[…
|