Buckets:
silverwolf-x/project / crates /next-custom-transforms /tests /fixture /optimize_server_react /1 /input.js
| import { useEffect, useLayoutEffect, useMemo } from 'react' | |
| import 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:
- 575 Bytes
- Xet hash:
- 9ce46141f3d35623abed07cc2a17b3419c240de05b6b1ae5aed332f39448b6f1
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.