I'm submitting a...
What is the current behavior?
Currently the hardcoded memoization is instance equality check, which doesn't work well with arrays.
e.g. I have an array that changes on certain actions and there are many selectors for this data. Some/most selectors return the same items, but because it's a new array all the selector changes are needlessly triggered.
reselect has createSelectorCreator for that purpose.
Expected behavior:
Minimal reproduction of the problem with instructions:
Version of affected browser(s),operating system(s), npm, node and ngrx:
Other information:
I'm submitting a...
What is the current behavior?
Currently the hardcoded memoization is instance equality check, which doesn't work well with arrays.
e.g. I have an array that changes on certain actions and there are many selectors for this data. Some/most selectors return the same items, but because it's a new array all the selector changes are needlessly triggered.
reselecthascreateSelectorCreatorfor that purpose.Expected behavior:
Minimal reproduction of the problem with instructions:
Version of affected browser(s),operating system(s), npm, node and ngrx:
Other information: