Module

React.Queue

Re-exports from React.Queue.LifeCycle

#ReactLifeCycle

data ReactLifeCycle props state snapshot

Constructors

#withLifeCycleOne

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

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

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

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

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

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

Modules