{"library":"redux-promise","type":"library","category":null,"description":"FSA-compliant promise middleware for Redux (v0.6.0). It intercepts actions with a promise as the payload or the action itself as a promise. When the promise resolves, it dispatches a copy of the action with the resolved value and status 'success'; on rejection, it dispatches with the rejected value and status 'error'. The middleware returns a promise to the caller, useful for server-side rendering. It is part of the redux-utilities suite and works seamlessly with redux-actions. Built on the Flux Standard Action (FSA) spec, it requires actions to have a 'type' and optionally 'payload', 'error', and 'meta'. Compatible with all Redux versions. Stable, rarely updated, no known breaking changes since initial release.","language":"javascript","status":"active","version":"0.6.0","tags":["javascript","redux","promise","middleware","redux-middleware","fsa","flux"],"install":[{"cmd":"npm install redux-promise","imports":["import promiseMiddleware from 'redux-promise'","import { createAction } from 'redux-actions'; import promiseMiddleware from 'redux-promise'","import { createStore, applyMiddleware } from 'redux'; import promiseMiddleware from 'redux-promise'; const store = createStore(reducer, applyMiddleware(promiseMiddleware))"]},{"cmd":"yarn add redux-promise","imports":[]},{"cmd":"pnpm add redux-promise","imports":[]}],"homepage":"https://redux-utilities.github.io/redux-promise","github":"https://github.com/redux-utilities/redux-promise","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/redux-promise","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/redux-promise/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}