Module
Halogen.Store.UseSelector
- Package
- purescript-halogen-store
- Repository
- thomashoneyman/purescript-halogen-store
#UseSelector Source
data UseSelector :: Type -> Type -> Type -> HookType
data UseSelector t0 t1 t2
Instances
HookNewtype (UseSelector act store ctx) (UseSelector' act store ctx)
#UseSelector' Source
type UseSelector' :: Type -> Type -> Type -> HookType
type UseSelector' act store ctx = (UseState (Maybe ctx)) <> UseEffect <> Pure
Instances
HookNewtype (UseSelector act store ctx) (UseSelector' act store ctx)
#useSelector Source
useSelector :: forall m act store ctx. MonadStore act store m => Selector store ctx -> Hook m (UseSelector act store ctx) (Maybe ctx)