Closed
Description
Thanks for the great tool! It uncovers some great existing utilities, provides some new ones, and sheds light on some useful idioms.
I had a question regarding createSlice
. Having used a "ducks" structure previously, this was a great thing to uncover. And, naturally, I wondered why there wasn't an ability to also pass selectors into createSlice
. However, I noticed that there is the ability to pass selectors into createSlice
but it's undocumented. My only complaint about the functionality as it stands is that it modifies the name of selector. I understand why that happens for actions (and it makes it more readable to boot!), but I don't quite understand why that is needed for selectors.
So, two questions:
- Are you planning on exposing this functionality in the documentation? Or is it hidden for a reason?
- Would you be open to either (a) changing this functionality or (b) exposing
createSliceSelector
for import?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels