<!-- **Please read this entire template before posting any issue. If you ignore these instructions and post an issue here that does not follow the instructions, your issue might be closed, locked, and assigned the `missing discussion` label.** --> ## 🚀 Feature Proposal Produce a string from any vnode ## Motivation To output a vnode as a string for client usage. ## Example ```typescript const node = ( <container> <text>Left</text> <text>Right</text> </container> ); ``` Consuming the result iteratively as it is generated: ```typescript for await (const iteration of toString(node)) { console.log({ iteration }); } ``` Resolving the complete string: ```typescript const value = await toString(node); ```
🚀 Feature Proposal
Produce a string from any vnode
Motivation
To output a vnode as a string for client usage.
Example
Consuming the result iteratively as it is generated:
Resolving the complete string: