Tanstack Table -- serverside #5410
-
As far as I understand Tanstack table currently can only be used in nextjs client components because of the hooks and not in server side components. In order to be SEO friendly I would prefer to use serverside components. Any chance to see this in future ? If this is a stupid idea please feel fry to close this issue. |
Beta Was this translation helpful? Give feedback.
Answered by
KevinVandy
Mar 15, 2024
Replies: 1 comment 1 reply
-
"use client" !== client only. I suggest understanding how next.js works. Client components still run on the server in next.js. SEO still there. The only way to mess up SEO/SSR in next.js is to use dynamic lazy imports for components. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Er4twXz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"use client" !== client only.
I suggest understanding how next.js works. Client components still run on the server in next.js. SEO still there. The only way to mess up SEO/SSR in next.js is to use dynamic lazy imports for components.