Skip to content

🐛 Uncaught TypeError: reactOriginalRender is not a function width React 19 #3235

@zuiidea

Description

@zuiidea

🏷 S2 Version / S2 版本

Package Version
@antv/s2
@antv/s2-react 2.2.3
@antv/s2-react-components

💻 Sheet Type / 表格类型

  • PivotSheet
  • TableSheet
  • PivotChartSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Describe the bug / 问题描述

使用React 19时,控制台 Uncaught TypeError: reactOriginalRender is not a function

⌨️ Code Snapshots / 代码片段

package.json

    "@types/react": "19.2.2",
    "@types/react-dom": "19.2.2",
    "react": "^19.2.0",
    "react-dom": "^19.2.0",

🔗 Reproduction link / 复现链接

No response

📋 Steps to Reproduce the Bug or Issue / 重现步骤

    1. clone S2 代码 @antv/[email protected]
    1. 将 package.json 中 react 版本从 18.3.1 更新至 19.2.0
    1. 运行 npm run start
    1. 控制台 Uncaught TypeError: reactOriginalRender is not a function

😊 Expected Behavior / 期望行为

运行正常

😅 Current Behavior / 当前行为

No response

💻 OS / 操作系统

  • macOS
  • Windows
  • Linux
  • Others / 其他

🌏 Browser / 浏览器

  • Chrome
  • Edge
  • Firefox
  • Safari (Limited support / 有限支持)
  • IE (Nonsupport / 不支持)
  • Others / 其他

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