silverwolf-x's picture
download
raw
268 Bytes
let renderCount = 0
export default function Error() {
renderCount++
// Guard to avoid endless loop crashing the browser tab.
if (typeof window !== 'undefined' && renderCount < 3) {
throw new Error('crash')
}
return `error threw ${renderCount} times`
}

Xet Storage Details

Size:
268 Bytes
·
Xet hash:
1ddea08e0241269e6f5eaf8035c700982cb7509cb0fcbb5fc42f712ef5703a6b

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