These are chat archives for jdubray/sam
for instance actions.clearEdit(); looks too much like a function call/setter. Actions should always have an argument.
actions.clearEdit()in turn calls
present(data)with the appropriate data to propose to the model to clear the edit field. the model still has to accept it, of course. It remains a proper step/state transition with PAL.
actions.clearEdit()shields the view from having to know the details of how that happens. the view simply calls