# Declarative Rendering # Text nodes Text nodes are enclosed with `${...}` ${ navigator.userAgent } # Fields starts with `:` # Attributes starts with `::` # Asynchronous *Promise* Promises are automatically resolved. ${fetch("md/hello.md")} *Await* To use await in text nodes **async** attribute must be added to the parent element
${await (await fetch("md/hello.md")).text()}
In attributes, the attribute name must be preceded with **async:** Attributes are similar they must start with *async::*