Module

Flame.Renderer.Internal.Dom

Package
purescript-flame
Repository
easafe/purescript-flame

Renders changes to the DOM

#start Source

start :: forall message. DomNode -> (message -> Effect Unit) -> Html message -> Effect DomRenderingState

Mounts the application on a DOM node

The node will be set as the parent and otherwise unmodified

#startFrom Source

startFrom :: forall message. DomNode -> (message -> Effect Unit) -> Html message -> Effect DomRenderingState

Hydrates a server-side rendered application

#resume Source

resume :: forall message. DomRenderingState -> Html message -> Effect Unit

Patches the application