Module

React.Queue

Package
purescript-react-queue
Repository
athanclark/purescript-react-queue

Re-exports from React.Queue.LifeCycle

#ReactLifeCycle Source

data ReactLifeCycle props state snapshot

Constructors

#withLifeCycleOne Source

withLifeCycleOne :: forall rw snapshot state props. Queue (write :: WRITE | rw) (ReactLifeCycle props state snapshot) -> ReactClassConstructor props state (ReactSpecAll props state snapshot) -> ReactClassConstructor props state (ReactSpecAll props state snapshot)

#withLifeCycleIx Source

withLifeCycleIx :: forall rw snapshot state props. String -> IxQueue (write :: WRITE | rw) (ReactLifeCycle props state snapshot) -> ReactClassConstructor props state (ReactSpecAll props state snapshot) -> ReactClassConstructor props state (ReactSpecAll props state snapshot)

#withLifeCycle Source

withLifeCycle :: forall rw snapshot state props. Queue (write :: WRITE | rw) (ReactLifeCycle props state snapshot) -> ReactClassConstructor props state (ReactSpecAll props state snapshot) -> ReactClassConstructor props state (ReactSpecAll props state snapshot)

Re-exports from React.Queue.WhileMounted

#whileMountedOne Source

whileMountedOne :: forall a rw spec state props. Queue (read :: READ | rw) a -> (ReactThis props state -> a -> Effect Unit) -> ReactClassConstructor props state (Mounted spec) -> ReactClassConstructor props state (Mounted spec)

Is the only handler for the singleton queue.

#whileMountedIx Source

whileMountedIx :: forall a rw spec state props. IxQueue (read :: READ | rw) a -> String -> (ReactThis props state -> a -> Effect Unit) -> ReactClassConstructor props state (Mounted spec) -> ReactClassConstructor props state (Mounted spec)

Uses specified index

#whileMounted Source

whileMounted :: forall a rw spec state props. Queue (read :: READ | rw) a -> (ReactThis props state -> a -> Effect Unit) -> ReactClassConstructor props state (Mounted spec) -> ReactClassConstructor props state (Mounted spec)

Deletes all handlers from Queue when unmounting