Created
April 6, 2018 15:28
-
-
Save kmaraz/599f366d75ed2aeee0ec87e9fd171efa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const selectFeatureA = fromFeatureA.selectFeatureA; | |
export const selectFeatureB = fromFeatureB.selectFeatureB; | |
export const selectCombinedFeature = createSelector(selectFeatureA, selectFeatureB, | |
(a, b) => a.find((x) => x.id === b.id) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment