Updating Lists
Specifying a List
import { actionTypes } fom 'redux-resource';
import store from './store';
store.dispatch({
type: actionTypes.READ_RESOURCES_SUCCEEDED,
resourceType: 'books',
list: 'mostPopular',
requestKey: 'getMostPopular'
// `newResources` is the list of books that were returned by the server
// for this request.
resources: newResources
});Why Specify a List
Replacing List IDs
More Reading
Last updated