Surface / Declare your update
Declare your update
A hand-written update function hides which fields a Message can change, so the renderer, the dependency graph, and your tests cannot inspect it without running it. You can declare each Message's state change as data with a Machine, then derive your Foldkit update from it with Declared.of.