Skip to content

useDisconnect freezes UI on React 19 #567

@AzrielTheHellrazor

Description

@AzrielTheHellrazor

We're building a product using React 19, and we encountered an issue with the useDisconnect function from the starknet-react library. When we call this function, the entire website freezes immediately, and all buttons become unresponsive. We've tried both calling it directly and wrapping it in an async function, but the issue persists. We noticed that the library is marked as compatible with React 18, so we suspect this issue may be related to React version compatibility. Is there any planned support for React 19 or known issues with it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions