{"library":"redux-handler-middleware","type":"library","category":null,"description":"Redux middleware that executes custom handlers before and after state updates, useful for navigation redirects. Version 1.0.4 is the latest stable release (no updates since 2017). Key differentiator: declarative handler definitions for specific actions, both pre- and post-update. Lightweight (no dependencies). Similar to redux-saga but simpler for basic side effects. Compatible with Redux >= 3.","language":"javascript","status":"maintenance","version":"1.0.4","tags":["javascript","redux","middleware"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install redux-handler-middleware","imports":["import createHandlerMiddleware from 'redux-handler-middleware'","const handlers = [{ actions: ['ACTION_TYPE'], beforeHandler: fn, afterHandler: fn }]","import { applyMiddleware } from 'redux'"]},{"cmd":"yarn add redux-handler-middleware","imports":[]},{"cmd":"pnpm add redux-handler-middleware","imports":[]}],"homepage":"https://github.com/ZachPerkitny/redux-handler-middleware#readme","github":"https://github.com/ZachPerkitny/redux-handler-middleware","docs":null,"changelog":null,"pypi":null,"npm":"redux-handler-middleware","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}