redux-operations icon indicating copy to clipboard operation
redux-operations copied to clipboard

memoize walkState

Open mattkrick opened this issue 9 years ago • 2 comments

@DrorT calling a reduce function on every dispatch may get expensive. for production use we should probably build in a memoize function for walkState

mattkrick avatar Mar 23 '16 02:03 mattkrick

I agree, And I am working on something similar for the cache. Give me a few days to see where I go with this.

DrorT avatar Mar 23 '16 20:03 DrorT

see https://github.com/reactjs/reselect for inspiration

mattkrick avatar Mar 23 '16 20:03 mattkrick