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 props state snapshot rw. 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 props state snapshot rw. 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 props state snapshot rw. 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 props state spec rw a. 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 props state spec rw a. 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 props state spec rw a. 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