You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Suggestion: Usage examples should use selectTheThing naming pattern instead of getTheThing #355
One thing I've found to be very helpful when working with reselect has been naming selectors with selectTheThing instead of getTheThing.
get is a overloaded term in programming. I've found that when I use get for my selectors very often the conflict with other types of getters. This is especially impactful when using selectors with auto-imports.
Obviously, users are free to call selectors whatever they want, but I've found that when telling people about the select__ pattern they tend to facepalm and wish the documentation used that pattern when they learned reselect.
Reacted by Omar López, Xendarboh Sensorii, Simone Cociancich, Takumi Nakazono and Paul Salaets
Activity
zomars commentedon Aug 8, 2018
I agree with this, get sometimes implies a fetch call.
markerikson commentedon Feb 7, 2021
Agreed, we should update examples this way.
markerikson commentedon Oct 20, 2021
Done!
We still need to rewrite the docs to match the newer "Modern Redux" patterns, so I've filed #515 to cover that.