Closed Shambuwu closed 11 months ago
same error
@ruslan-gennadievich @Shambuwu What is the version of g6,Can you give me a codesandbox
same error, g6 version is 4.8.9
@zhgw01 @ruslan-gennadievich if you encountering this issue try running your app without React.strictmode it worked for me after removing React.strictmode
@bobony Thanks for your suggestion, I will try to run Graphin under React.strictmode, hoping to find a solution
Describe the bug
I have the following component:
Very simple, pretty much straight from the README. Using this component in my application however results in the following error:
Something about modeController being undefined.
Your Example Website or App
React App
Steps to Reproduce the Bug or Issue
import React from 'react'; import Graphin, {Utils} from '@antv/graphin';
const data = Utils.mock(10) .random() .graphin();
export default function Graph() { return (
}