🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

typed-redux

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typed-redux

Typed Redux

latest
Source
npmnpm
Version
3.6.0-rc.4
Version published
Maintainers
1
Created
Source

Typed Redux

Redux with typed actions.

npm version

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.

Keywords

redux

FAQs

Package last updated on 05 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts