Quantumbraid's picture
download
raw
261 Bytes
import{useRef as o}from"react";function t(e){return[e.screenX,e.screenY]}function u(){let e=o([-1,-1]);return{wasMoved(r){let n=t(r);return e.current[0]===n[0]&&e.current[1]===n[1]?!1:(e.current=n,!0)},update(r){e.current=t(r)}}}export{u as useTrackedPointer};

Xet Storage Details

Size:
261 Bytes
·
Xet hash:
f4aa7761bf9ad99925b11cd813807874653a771d970cd16a7780e44140c87e46

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