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

Safe HaskellNone
LanguageHaskell2010

Glazier.React.Component

Synopsis

Documentation

data ShimComponent Source #

Returns a reference to the javascript *class* definition of the shim wrapper around ReactPureComponent

Instances
Show ShimComponent Source # 
Instance details

Defined in Glazier.React.Component.Internal

IsString ShimComponent Source # 
Instance details

Defined in Glazier.React.Component.Internal

Generic ShimComponent Source # 
Instance details

Defined in Glazier.React.Component.Internal

Associated Types

type Rep ShimComponent :: * -> * #

NFData ShimComponent Source # 
Instance details

Defined in Glazier.React.Component.Internal

Methods

rnf :: ShimComponent -> () #

PToJSVal ShimComponent Source # 
Instance details

Defined in Glazier.React.Component.Internal

IsJSVal ShimComponent Source # 
Instance details

Defined in Glazier.React.Component.Internal

ToJS ShimComponent Source # 
Instance details

Defined in Glazier.React.Component.Internal

Methods

toJS :: ShimComponent -> JSVal #

type Rep ShimComponent Source # 
Instance details

Defined in Glazier.React.Component.Internal

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

shimComponent :: ShimComponent Source #

This returns the javascript class definition of ShimComponent. There is ever only one shim class, so it is purely available

rerenderShim :: ComponentRef -> IO () Source #

Rerenders an instance of a component created using ShimComponent.

data ComponentRef Source #

This is used store the react "ref" to a javascript instance of a react Component.

Instances
Show ComponentRef Source # 
Instance details

Defined in Glazier.React.Component.Internal

IsString ComponentRef Source # 
Instance details

Defined in Glazier.React.Component.Internal

Generic ComponentRef Source # 
Instance details

Defined in Glazier.React.Component.Internal

Associated Types

type Rep ComponentRef :: * -> * #

NFData ComponentRef Source # 
Instance details

Defined in Glazier.React.Component.Internal

Methods

rnf :: ComponentRef -> () #

PToJSVal ComponentRef Source # 
Instance details

Defined in Glazier.React.Component.Internal

IsJSVal ComponentRef Source # 
Instance details

Defined in Glazier.React.Component.Internal

ToJS ComponentRef Source # 
Instance details

Defined in Glazier.React.Component.Internal

Methods

toJS :: ComponentRef -> JSVal #

FromJS ComponentRef Source # 
Instance details

Defined in Glazier.React.Component.Internal

type Rep ComponentRef Source # 
Instance details

Defined in Glazier.React.Component.Internal

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