#SSR and CSR

18 messages · Page 1 of 1 (latest)

runic shard
#

Is anything that has interaction with the user have to be client side? Such as clicking a logout button or filling in a login form or register form?

#

Also can I do it so the page is SSR but the component is locally rendered? So everything except the field and button is on another component

runic shard
#

@vestal summit you can have buttons on SSR?

#

How would u add actions to them?

runic shard
#

I tried it doesn’t work

vestal summit
runic shard
#

Yes

vestal summit
#

Buttons with callback actions require client components, but server components - client components is not SSR and CSR

runic shard
#

I have to use the use client

vestal summit
runic shard
#

Ah so buttons have to be on the client side

#

So any page I make with a button or action I have to use client

vestal summit
runic shard
#

Ahhhh so render the whole page as server but make a seperate component for action stuff?

#

I got it now! Thank you

vestal summit