Buckets:
| 'use client' | |
| import { useCallback } from 'react' | |
| const Button = ({ message }: { message: string }) => { | |
| const handleClick = useCallback(() => { | |
| throw new Error(message) | |
| }, [message]) | |
| return ( | |
| <button type="button" onClick={handleClick}> | |
| Click me | |
| </button> | |
| ) | |
| } | |
| export default function Page() { | |
| return <Button message="Kaputt!" /> | |
| } | |
Xet Storage Details
- Size:
- 363 Bytes
- Xet hash:
- ec7076dfa57111637f620d18b5fe07be1f92b4e6cb02f77990faf8824d56806c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.