Next.js Discord

Discord Forum

Do i have to make a new component to keep the page server side?

Answered
Arboreal ant posted this in #help-forum
Open in Discord
Arboreal antOP
i right now have a create post page, on the page there are inputs and use effect and state so it has to be use client, is the best solution just to make a new component and put it in the page so it stays server side or is there a cleaner way?
Answered by Standard Chinchilla
if it has input and useEffect yes. Btw it is still serverside even if it's a client component
View full answer

2 Replies

Standard Chinchilla
if it has input and useEffect yes. Btw it is still serverside even if it's a client component
Answer