Module

React.Signal.LifeCycle

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

#ReactLifeCycle Source

data ReactLifeCycle props state snapshot

Constructors

#withLifeCycle Source

withLifeCycle :: forall spec snapshot state props. Record (ReactSpecOptional props state snapshot spec) -> Effect { signal :: Signal (read :: READ, write :: WRITE) (ReactLifeCycle props state snapshot), spec :: Record (ReactSpecOptional props state snapshot spec) }