Can we have a selector with all the state + extra selectors on createFeature
?
#3964
Armenvardanyan95
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, if we use
createFeature
, we will receive automatically created selectors for all object keys in the initial state + one state selector, that returns the entire object. This is great, but now withextraSelectors
being added, it can make sense to provide an additional selector that returns the entire state + all values of theextraSelectors
. Lots of developers create such selectors (usually namedviewModel
orvm
) anyway, so maybe, if it is possible, we could provide them out of the box.How it works currently:
How I think this can look:
Beta Was this translation helpful? Give feedback.
All reactions