Pass ReadableStream from Server Component to Client Component
Unanswered
Spectacled Caiman posted this in #help-forum
Spectacled CaimanOP
I have a server action that returns a ReadableStream that gets consumed in a client component. However, I get an error saying that only plain objects can be passed to client components. I know the docs mention that only plain objects can be passed to client components, but I was wondering if there is any workaround such that I can pass a stream to the client component? Or would I have to move to a route handler?