APP SSR and simple interactivity
Unanswered
Northeast Congo Lion posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
Northeast Congo LionOP
Hello, i would like a clarification if possibile.
I'm using Next App Router to develop a super simple website. The data is dynamic, coming from Storyblok.
My question is: I need simple interactivity (Accordions for instance) in a page. The content of the accordions should, of course, be indexed for SEO.
What's the strategy here?
I need the bloks components to fetch their own data of course, to keep the code simple and separated. Also Storyblok does not support anything else.
From what i can understand, using a server side component precludes any sort of interactivity, even if achievable with two lines of vanilla js. Using a client component that need to fetch some data must be done with useEffect or similar, voiding SEO.
What's the strategy here? Is Next the wrong tool for a website?
Thanks.
I'm using Next App Router to develop a super simple website. The data is dynamic, coming from Storyblok.
My question is: I need simple interactivity (Accordions for instance) in a page. The content of the accordions should, of course, be indexed for SEO.
What's the strategy here?
I need the bloks components to fetch their own data of course, to keep the code simple and separated. Also Storyblok does not support anything else.
From what i can understand, using a server side component precludes any sort of interactivity, even if achievable with two lines of vanilla js. Using a client component that need to fetch some data must be done with useEffect or similar, voiding SEO.
What's the strategy here? Is Next the wrong tool for a website?
Thanks.
1 Reply
![Avatar](https://cdn.discordapp.com/guilds/752553802359505017/users/258390283127881728/avatars/6d84d27ad734d86c3c3d7f004660bded.webp?size=256)
Rafael Almeida
client components are still pre-rendered on the server, there are no issues using them if you are worried about SEO