Custom Action Types
Using a Plugin
import resourceReducer from 'redux-resource';
import somePlugin from './some-plugin';
import anotherPlugin from './another-plugin';
export default resourceReducer('books', {
plugins: [somePlugin, anotherPlugin]
});Writing a Plugin
(resourceType, options) => reducerFunction(previousState, action) => newStateSelecting Resources
Customizable Plugins
Best Practices
Last updated