Module
Halogen.Store.Select
- Package
- purescript-halogen-store
- Repository
- thomashoneyman/purescript-halogen-store
#Selector Source
newtype Selector store aA Selector represents a selection a from the store store. It is
commonly used with the connect and subscribe functions when connecting
a component to the store.
A selector requires both a selection function from store -> a and an
equality function for a. The equality function is used to make sure
connected components are only notified when the selected state a has
changed.