Module

Radox.React.Internal.Connect

Package
purescript-react-radox
Repository
danieljharvey/purescript-react-radox

#createRadoxContext Source

createRadoxContext :: forall state action. CombinedReducer action state -> state -> ReactRadoxContext action state

Takes a CombinedReducer and a default state, and returns both a root-level provider and connect component for using the Radox store