asyncredux-dependency-injection
CommunityMake actions testable with environment-based DI.
Authormarcglasberg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Dependency injection in AsyncRedux enables clean decoupling of business logic from concrete implementations by introducing an Environment that stores services and utilities used by actions, widgets, and view-models.
Core Features & Use Cases
- Unified environment interface for production, staging, and testing.
- Easily swap implementations to mock services in tests.
- Access dependencies inside actions and widgets without tight coupling.
Quick Start
- Define an Environment interface with the services you need.
- Implement concrete environments (e.g., ProductionEnvironment, TestEnvironment) and wire them to your Store.
- Access env inside actions via an abstract base Action class to use injected services.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: asyncredux-dependency-injection Download link: https://github.com/marcglasberg/async_redux/archive/main.zip#asyncredux-dependency-injection Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.