Sam Selikoff @samselikoff.com · Aug 20

Cool stuff! Love seeing more frameworks exploring RSCs. How does this example work – I thought it was a fundamental part of the design of RSCs that client components can't import server components?

2 likes 2 replies

?

Replies

Ryan Skinner · Aug 20

While it appears that client components are directly importing server components, what's actually happening is a build-time transformation where these imports are converted to component wrappers.

Mark Malstrom · Aug 20

I was also under this impression, but it turns out that not even the flagship implementation respects that rule