typesafe-actions is a TypeScript utility library designed to reduce type verbosity and boilerplate in Redux architectures. It provides strongly typed helpers for creating synchronous and asynchronous Redux actions. Its reducer utilities infer state and action types while validating handlers at compile time. Helper types can derive action and state types directly from existing implementations. The library supports integrations with common asynchronous approaches such as redux-observable and redux-saga. It is distributed in CommonJS, ES module, and UMD formats and includes runtime tests, type tests, and performance benchmarks intended to preserve type safety and efficiency.
Features
- Typesafe synchronous action creators
- Typed asynchronous action creation
- Boilerplate-reducing reducer helpers
- Automatic action and state type inference
- Redux Saga and Redux Observable integration
- CommonJS, ES module, and UMD builds
Categories
LibrariesLicense
MIT LicenseFollow typesafe-actions
Other Useful Business Software
Earn up to 16% annual interest with Nexo.
Generate interest, borrow against your crypto, and trade a range of cryptocurrencies — all in one platform.
Geographic restrictions, eligibility, and terms apply.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of typesafe-actions!