Lee Bannard

Results comments of Lee Bannard

Hi @casertap, sorry for the slow reply. I have been away and am now very busy catching up right now, so I don't have time to look into this. If...

Hey @marceux, sorry nobody followed up on this question, did you come to any conclusions? Personally, if I am repeating the same one liner selectors in many places I extract...

It's an interesting proposal, but at this point in time the API for `createSelector` is stable and won't change. We could maybe add `createCurriedSelector` as a new function though. @MattSPalmer...

Not needed for 3.0.0, but lets keep it open.

Hey @simoneb, do you have some example code that I could run?

When using `connect`, component props are passed as the second argument to the selector. This allows you to use the pattern referenced in your link. More details here: https://github.com/reactjs/reselect#createselectorinputselectors--inputselectors-resultfunc

Running this (node v6.4): ``` js const reselect = require('reselect') const createSelector = reselect.createSelector const getSomeStuff = state => state.stuff const mySelector = createSelector(getSomeStuff, stuff => stuff.map(x => x *...

I'm not sure I follow your thinking here. Would you expect this to leak memory? ``` js const createSelector = require('reselect').createSelector const generate = () => [...Array(100000).keys()] while(true) { const...

Closing due to inactivity