Buckets:
silverwolf-x/project / crates /next-custom-transforms /tests /fixture /optimize_server_react /7 /input.js
| import { useEffect, useLayoutEffect, useMemo } from 'react' | |
| import * as React from 'react' | |
| export default function App() { | |
| useEffect(() => { | |
| console.log('Hello World') | |
| }, []) | |
| 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:
- 580 Bytes
- Xet hash:
- 29198079d323fe10155a6413331cc516646de8faf69d12423a5f3d91aac257a4
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.