Redux with typed actions.
- Action type namespacing (Redux issue #786)
- Get rid of action types string constants
- Get rid of reserved
type
properties of actions - TypeScript support for actions (Redux issue #992 #355)
npm install --save typed-redux
See examples for usage.
APIs are the same as original Redux, excepting that:
- You can dispatch class instances actions
- Actions don't have to have a
type
property
No. And you can still get benefits from typed actions.
Yes.
Typed Redux will follow the version of Redux, but it may have it's own beta or rc versions.