Quantumbraid's picture
download
raw
268 Bytes
import{useEffect as u,useRef as n}from"react";import{microTask as o}from'../utils/micro-task.js';import{useEvent as f}from'./use-event.js';function c(t){let r=f(t),e=n(!1);u(()=>(e.current=!1,()=>{e.current=!0,o(()=>{e.current&&r()})}),[r])}export{c as useOnUnmount};

Xet Storage Details

Size:
268 Bytes
·
Xet hash:
3b20bcf3b159b318906edc42767be8d1724e17b3b82d73a603932f34c691db8f

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