glazier-react-0.3.0.1: ReactJS binding using Glazier and Pipes.Fluid

Safe HaskellNone
LanguageHaskell2010

Glazier.React.Maker.Run

Synopsis

Documentation

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 #