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