score:1

import { createSelectorCreator, defaultMemoize } from 'reselect';

const createDeepEqualSelector = createSelectorCreator(defaultMemoize, deepEqual);

const customerSelector = createDeepEqualSelector(
 [state => state.customerReducer.customers],
 customers => customers,
);

Related Query

More Query from same tag