Skip to content

Why do createSlice use createSelectorName? #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ilyaagarkov opened this issue Jan 29, 2019 · 1 comment
Closed

Why do createSlice use createSelectorName? #106

ilyaagarkov opened this issue Jan 29, 2019 · 1 comment

Comments

@ilyaagarkov
Copy link

Hi guys!

What is the reason for influence 'slice' params in createSlice to getState name?
It looks weird, and it's difficult to use with types

https://github.com/reduxjs/redux-starter-kit/blob/master/src/sliceSelector.ts#L16-L21

@ilyaagarkov
Copy link
Author

looks like it's already in discussion #91 (comment)

markerikson pushed a commit that referenced this issue Apr 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant