Skip to contentOpen History to see the last commit
clientOnlyBasic.tsx
13 lines314 Bytes
1import { ClientOnly } from '@tanstack/react-router' 2import { Chart } from 'heavy-chart-library' 3import { formatData } from './utils' 5export function MyComponent() { 8 <ClientOnly fallback={<div>Loading...</div>}> 9 <Chart data={formatData()} />