Counter Example

Demo

A simple example of a counter which can be increased or decreased with the press of a button.

Concepts

Demonstrates the use of messages to update state.

Running

Run this application with the trunk development server:

trunk serve --open