Regions: out-of-order rendering.
A region lets you:
● label a position in the output.
● each label gets a content buffer.
● during reduction, other nodes contribute to these buffers.
● during finalization, the buffer is joined.
{ type: page,
head: ["",{ type:region, name:"css" },""]
body: [
"
Hello World
",
{ type: region, action: "add", name: "css",
content: ".demo { color: red; }"
}
]
}