commit
0c2ba55be1
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ main =
|
|||
start { model = 0, update = update, view = view }
|
||||
```
|
||||
|
||||
We are use the [`StartApp`](https://github.com/evancz/start-app) package to wire together our initial model with the update and view functions. It is a small wrapper around Elm's [signals](http://elm-lang.org/learn/Using-Signals.elm) so that you do not need to dive into that concept yet.
|
||||
We are using the [`StartApp`](https://github.com/evancz/start-app) package to wire together our initial model with the update and view functions. It is a small wrapper around Elm's [signals](http://elm-lang.org/learn/Using-Signals.elm) so that you do not need to dive into that concept yet.
|
||||
|
||||
The key to wiring up your application is the concept of an `Address`. Every event handler in our `view` function reports to a particular address. It just sends chunks of data along. The `StartApp` package monitors all the messages coming in to this address and feeds them into the `update` function. The model gets updated and [elm-html][] takes care of rendering the changes efficiently.
|
||||
|
||||
|
|
Loading…
Reference in a new issue