3 ms·
Yeah, I got that far. How does it know what it should turn into an Update handler though?
by Touche 8y ago
Yeah, I got that far. How does it know what it should turn into an Update handler though?
- hawkice 8y agoYou pass it the update function, the one function handles all updates. Typically, you'll have a case statement in that function to dispatch it out to something more specific.
- neoberg 8y agoBrowser.sandbox, Browser.application etc. are your app's runtimes. (Or they are the doors to the runtime) Subscriptions or DOM elements can generate Msgs and every Msg causes an update cycle.