import { createSelector } from 'reselect';

/**
 * Direct selector to the tagList state domain
 */
const selectTagListDomain = () => (state) => state.get('tagList');

/**
 * Other specific selectors
 */


/**
 * Default selector used by TagList
 */

const makeSelectTagList = () => createSelector(
  selectTagListDomain(),
  (substate) => substate.toJS()
);

export default makeSelectTagList;
export {
  selectTagListDomain,
};
