Buckets:
| 'use client' | |
| import React from 'react' | |
| export function Counter({ onClick }) { | |
| const [count, setCount] = React.useState(0) | |
| return ( | |
| <> | |
| <h1 id="count">{count}</h1> | |
| <button | |
| id="increment" | |
| onClick={async () => { | |
| const newCount = await onClick() | |
| setCount(newCount) | |
| }} | |
| > | |
| +1 | |
| </button> | |
| </> | |
| ) | |
| } | |
Xet Storage Details
- Size:
- 377 Bytes
- Xet hash:
- 6d8a8c89f94bb369415dbeaee8f3a9bd64ea363a5bd9d72c871bcbf15f93daa5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.