Quantumbraid's picture
download
raw
282 Bytes
import{useEffect as a}from"react";import{useLatestValue as f}from'./use-latest-value.js';function s(t,e,o,n){let i=f(o);a(()=>{if(!t)return;function r(d){i.current(d)}return window.addEventListener(e,r,n),()=>window.removeEventListener(e,r,n)},[t,e,n])}export{s as useWindowEvent};

Xet Storage Details

Size:
282 Bytes
·
Xet hash:
d18d43b79a0633d0a9c2271f89411ed1c0d43b0ed618a63036a31c4e0ee8b3b5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.