Module
Panda.Bootstrap
- Package
- purescript-panda
- Repository
- i-am-tom/purescript-panda
#bootstrap Source
bootstrap :: forall event state update eff. Document -> Application (FX eff) update state event -> Eff (FX eff) { element :: Node, system :: EventSystem (FX eff) update state event }
Given an application, produce the DOM element and the system of events
around it. This is mutually recursive with the render
function.