You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- extremely lightweight and zero dependencies -- adds **2kb** after gzip.
16
+
- extremely lightweight and zero dependencies -- adds **2.04kb** after gzip.
17
17
- only one `window.onresize` handler used to subscribe to any changes in an unlimited number of components no matter the use-cases.
18
18
- 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.
19
19
- 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