Skip to content

Commit 36f778e

Browse files
committed
README: more specific gzip stat
1 parent 9556384 commit 36f778e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ npm install -D use-viewport-sizes
1313
```
1414

1515
## Benefits ##
16-
- extremely lightweight and zero dependencies -- adds **2kb** after gzip.
16+
- extremely lightweight and zero dependencies -- adds **2.04kb** after gzip.
1717
- only one `window.onresize` handler used to subscribe to any changes in an unlimited number of components no matter the use-cases.
1818
- optional debounce to delay updates until user stops dragging their window for a moment; this can make expensive components with size-dependent calculations run much faster and your app feel smoother.
1919
- debouncing does not create new handlers or waste re-renders in your component; the results are also pooled from only one resize result.

0 commit comments

Comments
 (0)