Skip to content

[BUG] Compatibility with React v19 #602

@CHE1RON

Description

@CHE1RON

Describe the bug

Currently, when using React v19 (currently RC), it gives an error regarding ref objects being passed to hooks, see here:

image

To Reproduce

Simply follow the upgrade guide and install React v19 RC, then try to build the project using usehooks-ts.

Expected behavior

build step succeeds

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions