Lee Bannard

Results comments of Lee Bannard

Our first issue! I am going to close it out now because no-one has asked for it, so I don't think it is going to get implemented.

Istanbul? https://github.com/gotwarlost/istanbul

I copied the test coverage script from redux. Our current status: Statements : 100% ( 35/35 ), 1 ignored Branches : 100% ( 8/8 ), 1 ignored Functions : 100%...

This is great, thanks for the detailed and clear write up. I agree this would be useful and should probably be in the library. What do you think @faassen?

Yet another idea: turn the selector into a thunk if we want to conditionally execute it. The following is not a smart way to implement it (a new thunk gets...

NuclearJS adds the result to a cache every time the arguments change so toggling shouldFilter back and forth does not cause the expensive recalculation. As far as I am aware...

Another option that hasn't been suggested yet is adding a cache for the memoization like NuclearJS.

Thanks @gilbox. So the overall example looks something like this: ``` js const shouldFilter$ = state => state.shouldFilter; const hugeList$ = state => state.hugeList; const filteredList$ = createSelector( [hugeList$], (hugeList,...

@faassen @speedskater I like this idea.

@faassen, @HeyImAlex, @speedskater So, shall we do this with an exportable memoize then? Also, I agree with @speedskater that the docs should have an advanced use cases section so I'll...