Buckets:
| "use client"; | |
| import type { MouseEvent } from "react"; | |
| import Link from "next/link"; | |
| import { useCount, useDispatchCount } from "@/_components/Counter"; | |
| export default function About() { | |
| const count = useCount(); | |
| const dispatch = useDispatchCount(); | |
| const handleIncrease = (event: MouseEvent<HTMLButtonElement>) => | |
| dispatch({ | |
| type: "INCREASE", | |
| }); | |
| const handleIncrease15 = (event: MouseEvent<HTMLButtonElement>) => | |
| dispatch({ | |
| type: "INCREASE_BY", | |
| payload: 15, | |
| }); | |
| return ( | |
| <> | |
| <h1>ABOUT</h1> | |
| <p>Counter: {count}</p> | |
| <button onClick={handleIncrease}>Increase</button> | |
| <button onClick={handleIncrease15}>Increase By 15</button> | |
| <p> | |
| <Link href="/">Home</Link> | |
| </p> | |
| </> | |
| ); | |
| } | |
Xet Storage Details
- Size:
- 772 Bytes
- Xet hash:
- a2b46aa62191fcb8b398f7b31d2cfebe1a26826a60e6b828645d8072bf0ecbad
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.