{"library":"redux-async-middleware","title":"Redux Async Middleware","description":"Redux middleware for handling asynchronous actions using FSA-compliant action creators. Current version 0.0.0 is a placeholder release with no functional code; the package is in early development and not yet stable. Differentiators: lightweight, promises-based async handling conforming to Flux Standard Action (FSA) pattern. Intended for use with Redux and React, but is not battle-tested and lacks documentation or usage examples.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install redux-async-middleware"],"cli":null},"imports":["import asyncMiddleware from 'redux-async-middleware'","import { asyncMiddleware } from 'redux-async-middleware'","import { createAsyncMiddleware } from 'redux-async-middleware'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { createStore, applyMiddleware } from 'redux';\nimport asyncMiddleware from 'redux-async-middleware';\n\nconst store = createStore(\n  rootReducer,\n  applyMiddleware(asyncMiddleware)\n);\n\n// Example async action (FSA compliant)\nconst fetchData = () => ({\n  type: 'FETCH_DATA',\n  payload: fetch('/api/data').then(res => res.json())\n});\n\nstore.dispatch(fetchData());\n","lang":"javascript","description":"Basic setup: apply asyncMiddleware to Redux store, then dispatch an FSA action with a promise payload.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}