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
Build Agents and Models on One Platform
Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of typesafe-actions!