React.js pure render performance anti-pattern
Esa-Matti Suuronen
3.3K35

Great article. Does a slightly better job IMO than the redux docs. I do have one question…

In your example implementation of using “createSelector” you passed in 2 comma separated functions as args 1 & 2, that were not contained inside an array. Is this an alternative implementation or a syntax error? In the reselect docs, it specifies that “the first argument should be an array of input-selectors, and the second argument should be a transform function.” Just curious. Thanks.