DELETE_RESOURCES_PENDING
. Then, one of the other three action types will be used to represent the resolution of that request. Use the other action types in the following way:DELETE_RESOURCES_FAILED
: Use this if the request fails for any reason. ThisDELETE_RESOURCES_IDLE
: Use this when the request is aborted.DELETE_RESOURCES_SUCCEEDED
: Use this when the request was successful.DELETE_RESOURCES_SUCCEEDED
is dispatched, three things will happen:resources
included in the action will be replaced with null
in the resources
section of your resource slice.resources
included in the action will be removed from all lists in the resource slice.deleteStatus
will be set to "SUCCEEDED"
. All other meta values will be set to the default meta for that resource slice.