/
Playground
Docs
Sign in
main.giz
Run
Examples ▾
Hello
Collections
Server markup
Download ▾
Run it locally with
gizstack package.json
main.giz
package.json
import {Html, each} from "gizlang:html"; type ItemProps = { label: string; }; function Item(props: ItemProps): Html { return <li>{props.label}</li>; } function main(): void { const topics: Vec<string> = ["SSR", "Escaped markup", "No hydration"]; const page = <giz-example><h1>Gizlang markup</h1><ul>{each(topics, (label: string): Html => { return <Item label={label} />; })}</ul></giz-example>; print(page.text()); }
Ready
Gizlang 0.1.0-preview.20261023.54
Output
Diagnostics