ton-connect / sdk

SDK for TON Connect 2.0 — a comprehensive communication protocol between wallets and apps in TON ecosystem
Apache License 2.0
305 stars 84 forks source link

[<UI-REACT>]: React 19 + Next 15 #216

Open NicolasCassunde opened 2 months ago

NicolasCassunde commented 2 months ago

Describe the bug

TypeError: Cannot read properties of undefined (reading 'ReactCurrentDispatcher')

`"use client"; import { TonConnectUIProvider } from "delab-tonconnect-ui-react"; export function Providers({ children }: { children: React.ReactNode }) { return (

{children}

); } `

Expected behavior

works :D

Current behavior

Captura de Tela 2024-07-30 às 00 31 39

Steps to Reproduce

pnpx create-next-app@rc --empty + install ton connect react

Environment

next 15, react 19, macos

Additional context

No response

ellemedit commented 2 months ago

we need to upgrade jsx transformer perhaps