Module
React.Queue.LifeCycle
- Package
- purescript-react-queue
- Repository
- athanclark/purescript-react-queue
#ReactLifeCycle Source
data ReactLifeCycle props state
Constructors
WillMount
DidMount
WillUnmount
WillUpdate { props :: props, state :: state }
DidUpdate { props :: props, state :: state }
WillReceiveProps { props :: props }
DidCatch { componentStack :: String, error :: Error }
#withLifeCycle Source
withLifeCycle :: forall rw eff render state props. Queue (write :: WRITE | rw) (Effects eff) (ReactLifeCycle props state) -> ReactSpec props state render (Effects eff) -> ReactSpec props state render (Effects eff)
#withLifeCycleOne Source
withLifeCycleOne :: forall rw eff render state props. Queue (write :: WRITE | rw) (Effects eff) (ReactLifeCycle props state) -> ReactSpec props state render (Effects eff) -> ReactSpec props state render (Effects eff)