shotokai of DUSON Development
7/3/2019 - 2:45 PM

isLoading redux selector

export const isLoading = state => Boolean(_
  .chain(state)
  .keys()
  .filter(key => state[key].isLoading === true)
  .value()
  .length
);