Be sure to read the overview documentation before you dive into the API details.
Type for ActionReducer's reduce
function.
(Need to explicitly specify this as undefined
option for state will be missing in generated type declarations
otherwise)
Drop-in replacement for Redux's createStore()
function which will enhance the store using the
redux-devtools-extension if installed in your browser.
Creates an ActionFilter for the specified ActionTypeEnum and ActionDeclarations.
Example:
actionFilter(ActionType, [declareAction(setCounter), declareAction(incrementCounter)]);
the enum
specifying the possible values for the type
properties of the actions supported by this
filter
list of ActionDeclarations of the actions supported by this filter.
the resulting ActionFilter
Creates an ActionDeclaration for the specified action creator. An ActionDeclaration provides type information for the action object returned by an action creator.
the action creator function
the ActionDeclaration providing type information for the action object provided by the creator.
Action with an undefined type. Especially helpful for initialization and testing.
Generated using TypeDoc
Type of the
enum
specifying the possible actiontype
s.Example:
enum ActionType { set = 'SET_COUNTER', increment = 'INCREMENT_COUNTER' }