Streams API?
Closed this issue · 1 comments
tombatron commented
Hi there!
I'm experimenting with the React Server APIs and wondering what my options are as far as rendering a component using the renderToReadableStream
method. According to the documentation, this method returns a ReadableStream
instance from the Streams API.
If this API is supported with ClearScript, is there any guidance that you could provide in leveraging it?
BTW, the renderToString
method works like a champ, I'm just "exploring the space."
Thanks!
Tom
ClearScriptLib commented
Hi Tom,
ClearScript's V8-based script engine provides only the bare JavaScript environment and built-in objects. It supports neither the Web API nor the Node.js API, although the host is free to implement whatever APIs are required.
Cheers!