Buckets:
silverwolf-x/project / crates /next-custom-transforms /tests /fixture /optimize_server_react /7 /output.js
| import { useEffect, useLayoutEffect, useMemo } from 'react'; | |
| import * as React from 'react'; | |
| export default function App() { | |
| process.env.__NEXT_PRIVATE_MINIMIZE_MACRO_FALSE && useEffect(()=>{ | |
| console.log('Hello World'); | |
| }, []); | |
| process.env.__NEXT_PRIVATE_MINIMIZE_MACRO_FALSE && useLayoutEffect(()=>{ | |
| function foo() {} | |
| return ()=>{}; | |
| }, [ | |
| 1, | |
| 2, | |
| App | |
| ]); | |
| useLayoutEffect(()=>{}, [ | |
| runSideEffect() | |
| ]); | |
| useEffect(()=>{}, [ | |
| 1, | |
| runSideEffect(), | |
| 2 | |
| ]); | |
| useEffect(()=>{}, getArray()); | |
| const a = useMemo(()=>{ | |
| return 1; | |
| }, []); | |
| React.useEffect(()=>{ | |
| console.log('Hello World'); | |
| }); | |
| return <div> | |
| <h1>Hello World</h1> | |
| </div>; | |
| } | |
Xet Storage Details
- Size:
- 782 Bytes
- Xet hash:
- 4f84a19632a89fdf3110c2427eacce5833c02f4a6e8a11867b06ecdde751ee5b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.