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

Properties

Name Type Description
payload P    

Inherited properties

Name Type Inherited from Description
type T Action<T>  

Defined in

Last Updated: 17 December, 2024