I'm new to threejs and facing the above error in the code while executing the below code. Can someone help?
`import React, { Component } from 'react';
import React3 from 'react-three-renderer';
import * as THREE from 'three';
import _ from 'lodash';
import LoaderSemantic from './Loader';
class Graph3D extends Component {
constructor(props, context) {
super(props, context);
Hi,
I'm new to threejs and facing the above error in the code while executing the below code. Can someone help?
`import React, { Component } from 'react'; import React3 from 'react-three-renderer'; import * as THREE from 'three'; import _ from 'lodash'; import LoaderSemantic from './Loader';
class Graph3D extends Component { constructor(props, context) { super(props, context);
import React3 from 'react-three-renderer'; import * as THREE from 'three'; import _ from 'lodash'; import LoaderSemantic from './Loader';
class Graph3D extends Component { constructor(props, context) { super(props, context);
}
export default Graph3D;
}
export default Graph3D; `