-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
🚀 Feature Proposal
Produce a string from any vnode
Motivation
To output a vnode as a string for client usage.
Example
const node = (
<container>
<text>Left</text>
<text>Right</text>
</container>
);Consuming the result iteratively as it is generated:
for await (const iteration of toString(node)) {
console.log({ iteration });
}Resolving the complete string:
const value = await toString(node);Metadata
Metadata
Assignees
Labels
No labels