Elmish.WPF icon indicating copy to clipboard operation
Elmish.WPF copied to clipboard

Remove dispatch from update

Open marner2 opened this issue 2 years ago • 0 comments

This can be merged after #475 is merged (only the last commit is relevant to this PR).

Compare after #475

It was redundant to pass dispatch into the Update helper which was only used in cases of constructing new models for SubModel... cases. dispatch is passed down while constructing VmBinding records, which are in turn available in the Update call.

This reduces the api surface.

marner2 avatar Jun 22 '22 19:06 marner2