React and TypeScript
Typed dispatch
A dispatch contract limits actions to the declared union.
Formal Syntax & Structure
react syntaxreact
Dispatch<Action>Working Example
Example Snippetreact
Dispatch<Action>A dispatch contract limits actions to the declared union.
Dispatch<Action>Dispatch<Action>