react-flux-0.9.2: A binding to React based on the Flux application architecture for GHCJS

Safe HaskellNone
LanguageHaskell2010

React.Flux.Addons.React

Contents

Description

Bindings for the React addons that make sense to use from Haskell. At the moment, that is only the animation and performance tools.

Synopsis

Animation

cssTransitionGroup :: CSSTransitionProps -> ReactElementM eventHandler a -> ReactElementM eventHandler a Source

The ReactCSSTransitionGroup element. At the moment, only the high-level API is supported.

data CSSTransitionProps Source

The properties for the CSS Transition Group.

defaultTransitionProps :: CSSTransitionProps Source

Default properties for CSS Transition Group, using "react-transition" as the transition name.

Perf

perfToggleButton_ :: [PerfPrint] -> ReactElementM handler () Source

A button which when clicked toggles the performance measurement on and off. When the measurement is stopped, the given measurements are printed. If you want more control over the performance tools, you can use perfA directly from your own event handlers.

perfA :: PerfAction -> SomeStoreAction Source

Convert a performance action into a store action. Use this if you are not using perfToggleButton_.