Next.js Discord

Discord Forum

Help with SSR architecture

Unanswered
Sjoerd posted this in #help-forum
Open in Discord
Original message was deleted.

6 Replies

Original message was deleted
Dutch
you can use await in async components to fetch data
Yes that is indeed very handy but i think async in components is only possible for server components and I cannot populate a zustand store in a server component for as far as I know
if you need that data in client components, get it with useQuery
okay thank you for the help!
@Sjoerd pls do not delete the original question unless it contains secret info which should never be posted in the first place in a public server

mark the solution instead