Buckets:
| 'use client' | |
| import { useState, useEffect } from 'react' | |
| import styles from './style.module.css' | |
| import './style.css' | |
| export default function ClientNestedLayout({ children }) { | |
| const [count, setCount] = useState(0) | |
| useEffect(() => { | |
| setCount(1) | |
| }, []) | |
| return ( | |
| <> | |
| <h1 className={styles.red}>Client Nested. Count: {count}</h1> | |
| <button onClick={() => setCount(count + 1)}>{count}</button> | |
| {children} | |
| </> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 449 Bytes
- Xet hash:
- a57de2043f281177a597685b9f815aa715fd2cad2eac70f1dca4e973c79d71a7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.