text: import { createSelector } from 'reselect';
  import { initialState } from './reducer';
  
  /**
   * Direct selector to the home state domain
   */
  
  const selectHomeDomain = state => state.home || initialState;
  
  /**
   * Other specific selectors
   */
  
  /**
   * Default selector used by Home
   */
  
  const makeSelectHome = () =>
    createSelector(
      selectHomeDomain,
      substate => substate,
    );
  
  const makeItemsSelector = () =>
    createSelector(
      selectHomeDomain,
      substate => substate.items,
    );
  
  export { selectHomeDomain, makeSelectHome, makeItemsSelector };
  