Streaming
The same .md file, revealed a few characters at a time, re-parsed on every frame. For most of the run the document is incomplete — a ::graph-table block sits half-written for several frames.
Comark closes the dangling syntax as it goes, so the prose above never reflows into garbage. A component’s props live in a --- fence that only counts once its closing line arrives, which means props are all-or-nothing: in the frames before they land the tag has none, and the adapter reserves an empty frame rather than rendering a graph with no data.
Not everything is covered. A prefix that cuts mid-YAML-key can make that fence parse as invalid YAML and parseMarkdown throws — about 8% of the prefixes of this file do. Those frames keep the last good tree on screen, which is what the counter is reporting.
Waiting for output…