A function which has access to primitive and custom hooks like UseState, UseEffect, UseRef, and UseMemo. Hook functions can be used to implement reusable, stateful logic and to implement Halogen components.
Functions of this type should be constructed using the Hooks API exposed
newtype Hooked m pre post a
A largely internal type which underlies the
Hook type. Used when the first
type variable of the indexed monad,
hooks, cannot be hidden.