{"library":"redux-api-middleware","type":"library","category":null,"description":"Redux-api-middleware is a Redux middleware designed to standardize and simplify API calls within a Redux application. It processes actions adhering to the \"Redux Standard API-calling Action\" (RSAA) specification, identified by a special `[RSAA]` property. When such an action is dispatched, the middleware intercepts it, makes an HTTP request using the `fetch` API, and then dispatches a sequence of Flux Standard Actions (FSA) representing the request's lifecycle: `REQUEST`, `SUCCESS`, and `FAILURE`. This declarative approach helps manage loading states, error handling, and data fetching consistency. The current stable version is 3.2.1, with a history of regular updates and significant breaking changes in major versions (v2.0.0, v3.0.0). It relies on a global `fetch` implementation, requiring polyfills in environments like Node.js.","language":"javascript","status":"active","version":"3.2.1","tags":["javascript","redux","api","middleware","redux-middleware","flux"],"install":[{"cmd":"npm install redux-api-middleware","imports":["import { apiMiddleware } from 'redux-api-middleware';","import { RSAA } from 'redux-api-middleware';","import { createAction } from 'redux-api-middleware';"]},{"cmd":"yarn add redux-api-middleware","imports":[]},{"cmd":"pnpm add redux-api-middleware","imports":[]}],"homepage":null,"github":"https://github.com/agraboso/redux-api-middleware","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/redux-api-middleware","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-api-middleware/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}