Convenience module for creating sandbox pages (state, no commands).
import Page.Sandbox as Sandbox
counterPage =
Sandbox.page
{ init = \shared -> 0
, update = \msg model -> model + 1
, view = \shared model -> Html.text (String.fromInt model)
}
Create a sandbox page with local state but no commands. Alias for
Page.sandbox.