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

Safe HaskellNone
LanguageHaskell2010

Glazier.React.Notice

Synopsis

Documentation

data Notice Source #

Every event in React is a synthetic event, a cross-browser wrapper around the native event. which reused from a pool. So it is dangerous to keep a reference to a Notice since it may expire and contain other things without you knowing. All relevant data from the Notice must be consumed as soon you get one. That is, Notice must only be used in the first part of handleEvent. It is not an instance of NFData and so cannot be returned into the second lazy part of handleEvent

Instances
Show Notice Source # 
Instance details

Defined in Glazier.React.Notice.Internal

Generic Notice Source # 
Instance details

Defined in Glazier.React.Notice.Internal

Associated Types

type Rep Notice :: * -> * #

Methods

from :: Notice -> Rep Notice x #

to :: Rep Notice x -> Notice #

FromJS Notice Source # 
Instance details

Defined in Glazier.React.Notice.Internal

Methods

fromJS :: JSVal -> Maybe Notice #

type Rep Notice Source # 
Instance details

Defined in Glazier.React.Notice.Internal

type Rep Notice = D1 (MetaData "Notice" "Glazier.React.Notice.Internal" "glazier-react-1.0.0.0-DAsVOnciJu1LqT93cng4yY" True) (C1 (MetaCons "Notice" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 JSRep)))