code: function addEntitiesToStore (store, entities) {
    const entitySpecs = _.defaultTo(entities, {})
    const specs = normalizeEntities.normalize(entitySpecs)
  
    _.forOwn(specs, specItem => {
      store.add(specItem.id, specItem.spec)
    })
  
    return store
  }
docs: setup store