A library for connecting REST APIs to Redux store without writing reducers and actions manually. Version 2.0.7 is stable, based on axios and promise-middleware. Compatible with json:api specification. Provides EntityApi class to generate CRUD actions and reducers automatically. Differentiates from other Redux REST libraries by its simplicity and promise-based async handling. Low maintenance and few downloads, but functional for basic CRUD needs.
npm install redux-rest-adapterNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Setup basic EntityApi for tags, combine reducer, apply promiseMiddleware, and dispatch load action.
Upgrade code to use axios-based API. Refer to changelog.
Consider using Redux Toolkit Query or React Query for modern apps.
Always include promiseMiddleware in applyMiddleware.
Override buildURL or use custom axios instance if needed.
Ensure promiseMiddleware is in applyMiddleware: applyMiddleware(promiseMiddleware())
Add promiseMiddleware to applyMiddleware.
Ensure the reducer is combined under a key (e.g., 'api') as shown in docs.