Нужно ли оборачивать отдельно каждый селектор в createSelector?
const selector1 = state => _.get(state, 'state1');
const selector2 = state => _.get(state, 'state2');
const selector3 = state => _.get(state, 'state3');
// #1 Пишем так?
export default createStructuredSelector({
property1: selector1,
property2: selector2,
property3: selector3,
});
// #2 Или так?
export default createStructuredSelector({
property1: createSelector(selector1),
property2: createSelector(selector2),
property3: createSelector(selector3),
});