Skip to content

Latest commit

 

History

History
185 lines (170 loc) · 6.82 KB

Export-Size.md

File metadata and controls

185 lines (170 loc) · 6.82 KB

Export size

generated by export-size
version: 4.0.0-rc.1
date: 2020-11-16T09:58:54.059Z

Please note this is bundle size for each individual APIs (excluding Vue). Since we have a lot shared utilities underneath each function, importing two different functions does NOT necessarily mean the bundle size will be the sum of them (usually smaller). Depends on the bundler and minifier you use, the final result might vary, this list is for reference only.

@vueuse/core

Function min+gzipped
useRefHistory 1.01 KB
useParallax 1.01 KB
useLocalStorage 887 B
useSessionStorage 887 B
useStorage 855 B
useWebWorkerFn 730 B
useMouseInElement 728 B
useIdle 643 B
useTransition 637 B
useDevicePixelRatio 530 B
useElementVisibility 526 B
useOnline 519 B
useNetwork 503 B
onStartTyping 480 B
useEventSource 468 B
useDeviceMotion 460 B
useMouse 445 B
useBattery 442 B
useMutationObserver 437 B
useResizeObserver 427 B
useSpeechRecognition 418 B
useGeolocation 415 B
useBrowserLocation 395 B
useClipboard 372 B
usePermission 371 B
useDeviceOrientation 368 B
usePageLeave 351 B
useWindowSize 351 B
useWindowScroll 342 B
useDocumentVisibility 340 B
usePreferredColorScheme 336 B
useTimestamp 336 B
usePreferredLanguages 322 B
useIntersectionObserver 320 B
useDeviceLight 304 B
useCssVar 296 B
usePreferredDark 292 B
useAsyncState 279 B
TransitionPresets 278 B
useFavicon 270 B
useRafFn 268 B
useMediaQuery 258 B
useFullscreen 257 B
useEventListener 243 B
useWebSocket 234 B
useShare 229 B
useTitle 219 B
asyncComputed 200 B
useWebWorker 197 B
useVModel 180 B
createGlobalState 166 B
useCounter 139 B
debouncedWatch 97 B
throttledWatch 97 B
bypassFilter 96 B
debounceFilter 96 B
throttleFilter 96 B
pausableWatch 95 B
controlledComputed 94 B
biSyncRef 92 B
pausableFilter 92 B
clamp 91 B
ignorableWatch 90 B
isWindow 89 B
makeDestructurable 89 B
useDebounceFn 89 B
useThrottleFn 89 B
tryOnMounted 88 B
tryOnUnmounted 87 B
useDebounce 87 B
useThrottle 87 B
useTimeoutFn 87 B
watchWithFilter 87 B
createFilterWrapper 86 B
isBoolean 86 B
useIntervalFn 86 B
extendRef 85 B
invoke 85 B
isFunction 85 B
assert 84 B
isClient 84 B
isDef 84 B
noop 84 B
promiseTimeout 84 B
syncRef 84 B
timestamp 84 B
now 83 B
useInterval 83 B
useTimeout 82 B
when 82 B
isNumber 81 B
isObject 81 B
isString 81 B

@vueuse/router

Function min+gzipped
useRouteQuery 216 B
useRouteHash 180 B

@vueuse/integrations

Function min+gzipped
createCookies 494 B
useCookies 452 B
useAxios 238 B
useQRCode 185 B

@vueuse/rxjs

Function min+gzipped
fromEvent 190 B
useObservable 160 B
from 133 B
useSubscription 129 B
toObserver 88 B

@vueuse/firebase

Function min+gzipped
useFirestore 305 B
useRTDB 159 B

@vueuse/shared

Function min+gzipped
ignorableWatch 530 B
throttledWatch 464 B
pausableWatch 441 B
when 431 B
debouncedWatch 412 B
watchWithFilter 334 B
useThrottle 310 B
useTimeout 271 B
useInterval 263 B
useThrottleFn 259 B
useDebounce 251 B
useIntervalFn 224 B
useTimeoutFn 213 B
useDebounceFn 202 B
throttleFilter 184 B
makeDestructurable 183 B
extendRef 179 B
syncRef 149 B
pausableFilter 148 B
biSyncRef 135 B
debounceFilter 123 B
controlledComputed 122 B
tryOnMounted 109 B
createFilterWrapper 108 B
isWindow 106 B
promiseTimeout 105 B
isObject 89 B
clamp 87 B
tryOnUnmounted 85 B
assert 78 B
isBoolean 74 B
bypassFilter 69 B
isClient 68 B
isFunction 68 B
isNumber 67 B
isString 67 B
timestamp 65 B
invoke 63 B
isDef 62 B
now 61 B
noop 56 B