TanStackT
TanStack3y ago
1 reply
wet-aqua

dynamic skeleton display on loading state

Hey guys,
Does anyone have a workaround for a custom skeleton based on the content of the column? For example, I want to have an Avatar skeleton on the first column since it renders an Avatar component after a successful fetch and a single-line skeleton for the second column, etc. I have a very simple Skeleton component right now that renders the same skeleton for every column. Wondering if anyone has any ideas, please. I appreciate it. Thanks
Was this page helpful?