Make group selectors more efficient
Ensure that selectors for getting the "My groups", "Currently viewing groups" and "Featured groups" lists only recompute when the groups state changes. Previously they would have recomputed when _any_ part of the state changed. More generally, we should be using `createSelector` rather than `memoize` whenever we have a place in the app that needs to extract a subset of data from some larger structure and derive some data from that.
Showing
... | ... | @@ -101,6 +101,7 @@ |
"redux": "^4.0.1", | ||
"redux-thunk": "^2.1.0", | ||
"request": "^2.76.0", | ||
"reselect": "^4.0.0", | ||
"retry": "^0.12.0", | ||
"scroll-into-view": "^1.8.2", | ||
"seamless-immutable": "^7.1.4", | ||
... | ... |
Please register or sign in to comment