Tencent/tdesign-react

[lib] Compatibility with React 19 (RC) for Next JS 15 (Stable)

Opened this issue · 3 comments

tdesign-react 版本

1.9.2

重现链接

No response

重现步骤

  • Update to React 19 RC and/or Next JS 15 Stable.
  • Attempt to load page using systems like MessagePlugin.

期望结果

The toast notification from MessagePlugin should show up.

实际结果

Either no function, or error stating "reactRender" is not a function.

框架版本

React(19.0.0-rc-69d4b800-20241021), NextJS(15.0.1)

浏览器版本

Brave(1.71.118 Chromium: 130.0.6723.70)

系统版本

Windows(22631.3737) [23H2]

Node版本

22.6.0 (Dockerized)

补充说明

Utilizing components that use React's "render" function (This) that was deprecated in React 18, have now been removed entirely and causes said system (like MessagePlugin) to not function anymore.

👋 @GMatrixGames,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

nowui commented

升级到React 19就会碰到

升级到React 19就会碰到

明白,会尽快兼容React 19