typed-redux
v3.6.0-rc.4
Published
Typed Redux
Downloads
35
Maintainers
Readme
Typed Redux
Redux with typed actions.
Why?
- 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)
Installation
npm install --save typed-redux
Usage
See examples for usage.
APIs
APIs are the same as original Redux, excepting that:
- You can dispatch class instances actions
- Actions don't have to have a
type
property
FAQ
Do I need to use TypeScript to use Typed Redux?
No. And you can still get benefits from typed actions.
Is typed Action serializable?
Yes.
Versioning
Typed Redux will follow the version of Redux, but it may have it's own beta or rc versions.