What are these refs about?

Seen that ref thingy before but what does it actually do?

A ref (short for 'reference') points to some location in your data and binds to it. Whenever that bound node changes the UI will follow.

Likewise when a control or action changes the bound node, the instance data will be updated.

A ref is a path expression - it may have steps like a filesystem path.

The binding language in Fore is XPath 3. It's simple for simple cases but can also handle complex filtering and searching. See the Links section of the documentation.

The data step does not need to be mentioned - The root element is always implicit to save typing.