react-0.1.0.0: Create React components in Haskell
Safe HaskellNone
LanguageHaskell2010

React.Types

Synopsis

Documentation

newtype React Source #

An object that contains the React library

Constructors

React 

Fields

Instances

Instances details
MakeObject React Source # 
Instance details

Defined in React.Types

Methods

makeObject :: React -> JSM Object

newtype Component props refVal Source #

Constructors

Component 

Instances

Instances details
PToJSVal (Component props refVal) Source # 
Instance details

Defined in React.Types

Methods

pToJSVal :: Component props refVal -> JSVal

ToJSVal (Component props refVal) Source # 
Instance details

Defined in React.Types

Methods

toJSVal :: Component props refVal -> JSM JSVal

toJSValListOf :: [Component props refVal] -> JSM JSVal

MakeObject (Component props refVal) Source # 
Instance details

Defined in React.Types

Methods

makeObject :: Component props refVal -> JSM Object

newtype Hook a Source #

Constructors

Hook 

Fields

Instances

Instances details
Monad Hook Source # 
Instance details

Defined in React.Types

Methods

(>>=) :: Hook a -> (a -> Hook b) -> Hook b #

(>>) :: Hook a -> Hook b -> Hook b #

return :: a -> Hook a #

Functor Hook Source # 
Instance details

Defined in React.Types

Methods

fmap :: (a -> b) -> Hook a -> Hook b #

(<$) :: a -> Hook b -> Hook a #

Applicative Hook Source # 
Instance details

Defined in React.Types

Methods

pure :: a -> Hook a #

(<*>) :: Hook (a -> b) -> Hook a -> Hook b #

liftA2 :: (a -> b -> c) -> Hook a -> Hook b -> Hook c #

(*>) :: Hook a -> Hook b -> Hook b #

(<*) :: Hook a -> Hook b -> Hook a #

MonadIO Hook Source # 
Instance details

Defined in React.Types

Methods

liftIO :: IO a -> Hook a #

MonadJSM Hook Source # 
Instance details

Defined in React.Types

Methods

liftJSM' :: JSM a -> Hook a

newtype Element Source #

Constructors

Element 

Fields

Instances

Instances details
IsString Element Source # 
Instance details

Defined in React.Types

Methods

fromString :: String -> Element #

newtype Tag Source #

Constructors

Tag 

Fields

Instances

Instances details
IsString Tag Source # 
Instance details

Defined in React.Types

Methods

fromString :: String -> Tag #