reflex-dom-core-0.4: Functional Reactive Web Apps with Reflex

Safe HaskellNone
LanguageHaskell98

Reflex.Dom.Prerender

Synopsis

Documentation

class Prerender js m | m -> js where Source #

Minimal complete definition

prerenderClientDict

Instances
Prerender js m => Prerender js (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Prerender

(Prerender js m, ReflexHost t) => Prerender js (PostBuildT t m) Source # 
Instance details

Defined in Reflex.Dom.Prerender

(HasJS js m, HasJS js (Performable m), HasJSContext m, HasJSContext (Performable m), MonadJSM m, MonadJSM (Performable m), MonadFix m, MonadFix (Performable m), ReflexHost t) => Prerender js (ImmediateDomBuilderT t m) Source # 
Instance details

Defined in Reflex.Dom.Prerender

Prerender js m => Prerender js (QueryT t q m) Source # 
Instance details

Defined in Reflex.Dom.Prerender

Prerender js m => Prerender js (ReaderT w m) Source # 
Instance details

Defined in Reflex.Dom.Prerender

Prerender js m => Prerender js (EventWriterT t w m) Source # 
Instance details

Defined in Reflex.Dom.Prerender

Prerender js m => Prerender js (DynamicWriterT t w m) Source # 
Instance details

Defined in Reflex.Dom.Prerender

js ~ NoJavaScript => Prerender js (StaticDomBuilderT t m) Source # 
Instance details

Defined in Reflex.Dom.Prerender

Prerender js m => Prerender js (RequesterT t request response m) Source # 
Instance details

Defined in Reflex.Dom.Prerender

prerender :: forall js m a. Prerender js m => m a -> (PrerenderClientConstraint js m => m a) -> m a Source #

Draw one widget when prerendering (e.g. server-side) and another when the widget is fully instantiated. In a given execution of this function, there will be exactly one invocation of exactly one of the arguments.