Closed Faker-lz closed 11 months ago
I'm experiencing the same problem. Did you find a solution @Faker-lz
Yes, I just used
ReactDOM.render( <React.StrictMode>
<App />
</React.StrictMode>, document.getElementById('root'))
to replace the official demo code:
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render(
<React.StrictMode>
<App />
</React.StrictMode>
);
I think the error ascribes React's version.
At the beginning, the version of react18 was used, and now the version has been reduced to 16.13.1. Now no errors are shown.
I am also experiencing the same problem I am using react18.2.0. Any luck?
if anyone facing issue run your app without React.StrictMode it works
if anyone facing issue run your app without React.StrictMode it works
Thanks! Problem fixed.
Duplicated to https://github.com/antvis/Graphin/issues/476
Describe the bug
When I used the G6 Graph in react project, I got the error in
@antv/g6-core/es/graph/graph.js
Your Example Website or App
https://github.com/Faker-lz/sbom
Steps to Reproduce the Bug or Issue
I found an error to the following code according to the browser's console:
Expected behavior
Is there anyone who is having the same problem as me and I would like help
Screenshots or Videos
No response
Platform
Additional context
No response