useDisconnect freezes UI on React 19
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?
Thanks for reporting this! We’ll look into it. If you can share a minimal reproduction (CodeSandbox or repo), that would be super helpful.
I am an experienced MERN Developer, who has used Wagmi extensively. I can handle this issue