asyncredux-before-after
Installation
SKILL.md
AsyncRedux Before and After Methods
Action Lifecycle Overview
Every ReduxAction has three lifecycle methods that execute in order:
before()- Runs first, before the reducerreduce()- The main reducer (required)after()- Runs last, always executes
Only reduce() is required. The before() and after() methods are optional hooks for managing side effects.
The before() Method
The before() method executes before the reducer runs. It can be synchronous or asynchronous.