Quantumbraid's picture
download
raw
356 Bytes
import{useRef as l}from"react";import{getTextValue as i}from'../utils/get-text-value.js';import{useEvent as o}from'./use-event.js';function s(c){let t=l(""),r=l("");return o(()=>{let e=c.current;if(!e)return"";let u=e.innerText;if(t.current===u)return r.current;let n=i(e).trim().toLowerCase();return t.current=u,r.current=n,n})}export{s as useTextValue};

Xet Storage Details

Size:
356 Bytes
·
Xet hash:
d38db9a13a5d6eaf570b3fb93c299efc3d24ff3218f4abdb4361fb99fca0e141

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