Skip to content

Deprecate the RootState generic of createFeatureSelector #3179

@timdeschryver

Description

@timdeschryver

Describe any alternatives/workarounds you're currently using

Deprecate the State generic of createFeatureSelector because it's causing type issues with Store.
For this, we can also add an automatic migration.

BEFORE:

createFeatureSelector<State, FeatureA>('featureA');

AFTER:

createFeatureSelector<FeatureA>('featureA');

If accepted, I would be willing to submit a PR for this feature

[ ] Yes (Assistance is provided if you need help submitting a pull request)
[ ] No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions