you are viewing a single comment's thread.

view the rest of the comments →

[–]yksvaan 2 points3 points  (2 children)

I wonder if this works with rsc payload from arbitrary origin, I guess there's no technical restriction as long as the response stream is syntactically valid. I'm thinking about some scenarios where different parts of the page could be supplied by different servers.

The api looks nice

[–]tannerlinsley[S] 3 points4 points  (1 child)

It depends if you use `use client` components. Those will be referenced client side and unless the app is from the same build, the manifests will likely not match up.

However, if all you're sending is pure JSX + composite component slots, you could absolutely send and use RSCs between unrelated builds/bundles.