Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Components for managing input and state

Components for managing input and state

This talk was given in the first-ever Elm Remote Meetup.

Ossi Hanhinen

June 06, 2016
Tweet

More Decks by Ossi Hanhinen

Other Decks in Programming

Transcript

  1. main = Html.App.program { init = init , view =

    view , update = update , subscriptions = subscriptions }
  2. Init Model, Cmd Msg Msg, Model Update Model, Cmd Msg

    App Components Nest Init Model, Cmd Msg Msg, Model Update Model, Cmd Msg
  3. App Components’ Public API Msg, Model Update Model, Cmd Msg

    Msg Model Model Cmd Msg Init Model, Cmd Msg
  4. Extending the Pattern Msg Model Update Init Some extra Model,

    Cmd Msg Msg, Model Some extra, Model, Cmd Msg