Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

client-only.js

14 lines308 Bytes

1import React from 'react'
2import { Layout, Header, InfoBox, PostList } from '../components'
3​
4const ClientOnly = () => {
5 return (
6 <Layout>
7 <Header />
8 <InfoBox>ℹ️ This data is loaded on client and not prefetched</InfoBox>
9 <PostList />
10 </Layout>
11 )
13​
14export default ClientOnly