Tree demo: lists via manageTemplateList

A launch summary built with builtIns.tree from a JSON API response (data/launch.json, a fictional launch modeled on the SpaceX API v4 shape). The API response is used as-is (only UI state is overlaid), stateless formatting comes from named pipes, the rocket card and links bar each get an itemscope manager as their view model, and the tree config itself is pure JSON (shown below the log).

This variant delegates its lists to builtIns.manageTemplateList; the main tree demo uses Tree's native arrays instead. Prefer native arrays by default; reach for manageTemplateList when item markup lives in HTML (<template>s, possibly server-rendered, filled by infer), when an item is several sibling elements (e.g. <dt>/<dd> pairs, via configs), when a very long list needs time-slicing (yieldEvery) or waitForSettled, or when removed items should be hidden rather than discarded (forget: false).

What this demo exercises

By design:

Event log

    API response

    Loading…

    Tree config