Hey everyone, I am taking a discussion to here which was previously posted on this GitHub Issue (contains full reproduction issue): https://github.com/withastro/astro/issues/7709
In short, I am currently unable to render the example DataTable component provided in the shadcn docs which uses @tanstack/react-table. This is the error I currently get "An error occurred during hydration. The server HTML was replaced with client content in <astro-island>"
Documentation References:
- shandcn w/ Astro - https://ui.shadcn.com/docs/installation/astro
- DataTable component - https://ui.shadcn.com/docs/components/data-table
- Repro Link - https://stackblitz.com/github/lucaswalter/astro-shadcn-tanstack-repro?file=src%2Fcomponents%2Fcolumns.tsx%3AL25
Has anyone had any success getting this DataTable working at all? Right now I am not able to get table rendered at all in Astro with either of these directives
client:loadclient:only="react"