speezepearson / biatob

1 stars 0 forks source link

Flatten UI architecture to only have reusable view functions, not nested Models #10

Closed speezepearson closed 3 years ago

speezepearson commented 3 years ago

(Every architecture I've tried sucks, but I think this one sucks the least.)

The UI now has one type alias Model per page, instead of trying to have "components" each with their own Model/Msg types.

Pros of this approach:

Cons of this approach: