Snippets tagged elmish

  • An Elmish pattern with centralized commands.

    A useful pattern for I/O heavy or view-less apps. User defines an order type to use instead of Cmd<'msg> and an "execute" function processing said orders and dispatching message. It frees the update function from command code, centralizes I/O in a elmishy way and exempts from the Cmd module. Inspired by the CmdMsg pattern, see:

    6 people like this

    Posted: 3 years ago by Julien Di Lenarda