ActionWithPayload<T extends string, P> Interface
A Redux Action, with additional "payload" information.
Technically, Redux allows actions to take any shape, provided they specify a type
property.
However, in order to simplify TypeScript typings, we follow this Flux Standard Actions-like
convention, where all additional action information goes into a payload
property.
Extends
- Action<T>
Properties
Name | Type | Description | |
---|---|---|---|
payload | P |
Inherited properties
Name | Type | Inherited from | Description |
---|---|---|---|
type | T | Action<T> |
Defined in
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.