Server side data fetching based on input from a client

So, I want to fetch data on the server with server components based on the input from the client component in this case workspaceSlug. What is the best approach to go around this? I tried the pattern in this picture i havent got it to work
No description
1 Reply
barry
barry3mo ago
Server action
Want results from more Discord servers?
Add your server