Copyright | (C) 2016-2018 David M. Johnson |
---|---|
License | BSD3-style (see the file LICENSE) |
Maintainer | David M. Johnson <djohnson.m@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- miso :: Eq model => (URI -> App model action) -> JSM ()
- startApp :: Eq model => App model action -> JSM ()
- sink :: Sink action
- module Miso.Effect
- module Miso.Event
- module Miso.Html
- module Miso.Subscription
- module Miso.Types
- module Miso.Router
- module Miso.Util
- module Miso.FFI
- module Miso.WebSocket
Documentation
miso :: Eq model => (URI -> App model action) -> JSM () Source #
Runs an isomorphic miso application. Assumes the pre-rendered DOM is already present
Global sink exposed as a backdoor Meant for usage in long running IO actions, or custom callbacks Good for integrating with third-party components.
module Miso.Effect
module Miso.Event
module Miso.Html
module Miso.Subscription
module Miso.Types
module Miso.Router
module Miso.Util
module Miso.FFI
module Miso.WebSocket