Buckets:
| import useSWR, { useSWRConfig } from 'swr' | |
| export default function Page({ foo }) { | |
| const { data } = useSWR('hello', (v) => v, { fallbackData: 'hello' }) | |
| useSWRConfig() // call SWR context | |
| return <div id="content">{`${data}-${foo}`}</div> | |
| } | |
| export function getServerSideProps() { | |
| return { | |
| props: { | |
| foo: 'bar', | |
| }, | |
| } | |
| } | |
Xet Storage Details
- Size:
- 343 Bytes
- Xet hash:
- 07c0a1e2de39a86735d2a1601989f03efca224d3bed3f2215cf57b31ed88105e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.