Buckets:
silverwolf-x/project / crates /next-custom-transforms /tests /fixture /optimize_server_react /6 /input.js
| import { useState, useEffect, useLayoutEffect } from 'react' | |
| import React from 'react' | |
| const Component = ({ children, fallback }) => { | |
| const [mounted, setMounted] = useState(false) | |
| useEffect(() => setMounted(true), []) | |
| if (!mounted) { | |
| return fallback ?? /* @__PURE__ */ jsx(Fragment, {}) | |
| } | |
| return children | |
| } | |
| export { Component } | |
Xet Storage Details
- Size:
- 344 Bytes
- Xet hash:
- 93658e174effa10ddb0afe1649070bbc49b754e36aacbffc417b6c362b743c86
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.