State

import {initialState} from 'redux-rest-resource';

initialState ==
  {
    // FETCH props
    items: [],
    isFetching: false,
    lastUpdated: 0,
    didInvalidate: true,
    // GET props
    item: null,
    isFetchingItem: false,
    lastUpdatedItem: 0,
    didInvalidateItem: true,
    // CREATE props
    isCreating: false,
    // UPDATE props
    isUpdating: false,
    isUpdatingMany: false,
    // DELETE props
    isDeleting: false,
    isDeletingMany: false
  };

Last updated