glazier-react-1.0.0.0: ReactJS binding using Glazier.Command.

Safe HaskellNone
LanguageHaskell2010

Glazier.React.Event.Synthetic

Description

This module based on ReactFluxPropertiesAndEvents.hs.

Synopsis

Documentation

data SyntheticEvent Source #

Every Notice can be parsed to an SyntheticEvent. SyntheticEvent must only be used in the first part of handleEvent.

Instances
Generic SyntheticEvent Source # 
Instance details

Defined in Glazier.React.Event.Synthetic

Associated Types

type Rep SyntheticEvent :: * -> * #

NFData SyntheticEvent Source # 
Instance details

Defined in Glazier.React.Event.Synthetic

Methods

rnf :: SyntheticEvent -> () #

type Rep SyntheticEvent Source # 
Instance details

Defined in Glazier.React.Event.Synthetic

toSyntheticEvent :: Notice -> SyntheticEvent Source #

We can lie about this not being in IO because within the strict part of handleEventM the Notice is effectively immutable.