Module
Halogen.Helix.Hooks
- Package
- purescript-halogen-helix
- Repository
- katsujukou/purescript-halogen-helix
#UseHelixHook Source
type UseHelixHook :: Type -> Type -> Type -> (Type -> Type) -> Type
type UseHelixHook state action part m = (state -> part) -> Hook m (UseHelix state) (part /\ (HelixContext' part action m))
#makeStore Source
makeStore :: forall state action part m. MonadEffect m => Eq part => String -> (state -> action -> state) -> state -> HelixMiddleware' state action m -> UseHelixHook state action part m
#makeStore' Source
makeStore' :: forall state action part m. MonadEffect m => Eq part => String -> (state -> action -> state) -> state -> UseHelixHook state action part m
Re-exports from Halogen.Helix.Types
#HelixMiddleware' Source
type HelixMiddleware' :: Type -> Type -> (Type -> Type) -> Type
type HelixMiddleware' s a m = HelixMiddleware s a (HookM m)
#HelixContext' Source
type HelixContext' :: Type -> Type -> (Type -> Type) -> Type
type HelixContext' s a m = HelixContext s a (HookM m)