tahamajs's picture
download
raw
693 Bytes
{
"version": 3,
"sources": ["../src/use-layout-effect.tsx"],
"sourcesContent": ["import * as React from 'react';\n\n/**\n * On the server, React emits a warning when calling `useLayoutEffect`.\n * This is because neither `useLayoutEffect` nor `useEffect` run on the server.\n * We use this safe version which suppresses the warning by replacing it with a noop on the server.\n *\n * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect\n */\nconst useLayoutEffect = globalThis?.document ? React.useLayoutEffect : () => {};\n\nexport { useLayoutEffect };\n"],
"mappings": ";AAAA,YAAY,WAAW;AASvB,IAAMA,mBAAkB,YAAY,WAAiB,wBAAkB,MAAM;AAAC;",
"names": ["useLayoutEffect"]
}

Xet Storage Details

Size:
693 Bytes
·
Xet hash:
ab8327fa0e6b8537ce0267715c7e6828b6b79c9688eacbb1029a8ffdc250c583

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