function entities(state = { users: {}, repos: {} }, action) {
  if (action.response && action.response.entities) {
    return merge({}, state, action.response.entities)
  }

  return state
}
function entities(state = { users: {}, repos: {} }, action) {
  if (action.response && action.response.entities) {
    return merge({}, state, action.response.entities)
  }

  return state
}
function entities ( state = { users : { } , repos : { } } , action ) { if ( action . response && action . response . entities ) { return merge ( { } , state , action . response . entities ) } return state }
Updates an entity cache in response to any action with response.entities.
Updates an entity cache in response to any action with response . entities .