Skip to content

Typing partially broken in React 19 #46

@bruets

Description

@bruets

Hey dai-shi,

first of all: Thank you very much for creating this plugin. I already used it in multiple projects and it remendously simplified our code and increased modularity.

After upgrading one project to React 19, the typing partially stopped working. The ReducerAction type has been removed.
Result: The dispatch is not typed anymore (basically, any).

I tried rudimentary fixes. Sadly, without any luck so far.
Do you happen to know, how this could be fixed?

EDIT: If you need any code samples to reproduce the issue, hit me up. Right now, all code is used in commercial projects. Thus, I refrained from copy-pasting them here in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions