Created
September 6, 2016 22:51
-
-
Save alyssaBiasi/d4e9264d0272cd89b3fc192279fb6233 to your computer and use it in GitHub Desktop.
REA ReactJS Performance Debugging "Selectors"
This file contains 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
const { createSelector } = require('reselect'); | |
export const getViewModel = createSelector( | |
[ | |
getFiltersChannel, | |
getFilters, | |
getFiltersSort | |
], | |
(channel, filters, sortType) => new ViewModel(channel, filters, sortType) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment