How to pass props from a client component to a server component?
Answered
Black-headed Grosbeak posted this in #help-forum

Black-headed GrosbeakOP
I need to pass an id from a
1. Client component uses a hook to access the state and retrieves ID
2. ID is passed to a server component (no
but the query will be executed on my browser.. What am I doing wrong?
zustand
store to a server component in order to fetch data. Currently it is like that:1. Client component uses a hook to access the state and retrieves ID
2. ID is passed to a server component (no
use client
) where my DB is getting fetchedbut the query will be executed on my browser.. What am I doing wrong?