upsiflu / less-ui

Write your views across several screen regions, and hide all Ui state in the Url.
https://package.elm-lang.org/packages/upsiflu/less-ui/latest
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Feature Scope #10

Open upsiflu opened 1 year ago

upsiflu commented 1 year ago

The trajectory goes towards reducing the number of Msg that the user application needs to handle -- down to only those that actually modify the domain model.

One by one, concerns are offloaded to the less-ui library:

Cohesive views

Typical State-in-Url patterns

Ui state that doesn't map perfectly to the Url but shouldn't be handled by the app

Auto-deriving a View from a Model

upsiflu commented 11 months ago

In the long term, Url stores all Ui/Ux state while an offline-first and/or remote store is the definite source for the model. -> No more volatile state (The app is practically a stateless definition of the model and the possible interaction patterns)