
React Server Components with Sanket Sahu
PodRocket - A web development podcast from LogRocket
00:00
React Server Components and Data Fetching
With Next Server actions, you can essentially call them as if it was your local function in the same file. It feels like you're calling a local function, but it gets called on the server through the entire API route. So that paradigm is a pretty straightforward mental model, I would say. And we can't even make it client component at the root level because you cannot use a server component inside a client component.
Transcript
Play full episode