I faced some issues while reading and understanding the docs for the new changes in reselect v5, and some additional clarity would greatly help understanding what a particular thing does.
- The description for
createSelectorOptions in createSelector Reference isn't descriptive enough:
The docs for each property are on the createSelectorCreator page. While it is common sense(?) that what the options param in createSelector is, A link or mention to createSelectorCreator should be there.
Similarly, inputStabilityCheck on the createSelectorCreator reference has no mention of this being a Development-Only Stability Check
- The documentation needed to understand caching is all over the place:
To understand and configure caching/memoization, there's no single document, one would have to check multiple pages, and with so many similar terms (memoize, argsMemoize, equalityCheck, resultEqualityCheck) it gets really confusing. A guide like How Does Reselect Work? for caching would be really helpful.
This may sound like nit-picking.. but it took me a while to fully understand it.
Also, the --ifm-menu-color-active(#ecf4f9) on --ifm-menu-color-background-hover(#0000000d) has a really bad contrast ratio, same issue in dark mode as well.
I faced some issues while reading and understanding the docs for the new changes in reselect v5, and some additional clarity would greatly help understanding what a particular thing does.
createSelectorOptionsin createSelector Reference isn't descriptive enough:The docs for each property are on the createSelectorCreator page. While it is common sense(?) that what the options param in
createSelectoris, A link or mention tocreateSelectorCreatorshould be there.Similarly,
inputStabilityCheckon thecreateSelectorCreatorreference has no mention of this being a Development-Only Stability CheckTo understand and configure caching/memoization, there's no single document, one would have to check multiple pages, and with so many similar terms (
memoize,argsMemoize,equalityCheck,resultEqualityCheck) it gets really confusing. A guide like How Does Reselect Work? for caching would be really helpful.This may sound like nit-picking.. but it took me a while to fully understand it.
Also, the
--ifm-menu-color-active(#ecf4f9) on--ifm-menu-color-background-hover(#0000000d) has a really bad contrast ratio, same issue in dark mode as well.