
React Server Components: Part 2- JSJ 583
JavaScript Jabber
How to Structure Your Client Components in a React Child Model
Charles Maxwell: I think there's also probably some different ways of writing your client components to kind of work more naturally with server components. So for example you can imagine a tab component that receives the list of tabs as react children. And so when you structure your components in this way right a server component can render the tabs but it's also passing it a bunch of components that are server components. Those server components are evaluated on the server and then they kind of rendered output of them is passed down to the client to render inside this tab component. But it's really just the more efficient and I think it is a clearer model once you let it settle whether the business or not.