glazier-react-0.3.0.1: ReactJS binding using Glazier and Pipes.Fluid
Glazier.React.Maker.Run
Synopsis
onRender :: MVar s -> (JSVal -> WindowT s (ReactMlT IO) ()) -> JSVal -> IO JSVal Source #
This is called synchronously by React to render the DOM. This must not block!
mkActionCallback :: Output act -> (JSVal -> MaybeT IO [act]) -> IO (Callback (JSVal -> IO ())) Source #
run :: ReactComponent -> Output act -> Maker act (IO a) -> IO a Source #