view
Describes how the current model should be rendered. This function returns a tree of Elements that describe the UI.
Return
A description of the view as an Element tree
Parameters
model
The current state to render
dispatch
Function to dispatch messages for state updates