antvis / antvis/G

Cannot read properties of undefined (reading 'ReactCurrentOwner')

Open
#1,886 2 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
1.2k
Forks
230
PR merge metrics
No merged PRs in 30d

Description

![image](https://github.com/user-attachments/assets/d4d13793-7170-4306-b9b9-ae9273c44aa4)

G-React 不支持 React 19,问题原因:G-React 依赖了 react-reconciler[ @0.26.x](https://github.com/antvis/G/blob/next/packages/react-g/package.json#L48)

- https://github.com/antvis/GPT-Vis/issues/68

Contributor guide

Open the contributing guide

Research direction

Start with packages/react-g/package.json, especially the react-reconciler @0.26.x dependency, and review the linked GPT-Vis issue #68 for related compatibility context. Reproduce the React 19 failure shown in the issue, then verify that G-React works with React 19 without the ReactCurrentOwner error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.