Rough sketch of how is the flow of data in Mercury.
│
Event channels <───────────── dom-delegator (events)
│ │ ^
V (imperative) │
View state │ DOM