Class constructors cannot be invoked without 'new'

Obviously, as a beginner, you are trying to use three.js with React.

It’s easier to just use pure three.js for now.

Then take a look at some simple examples from the collection.

For example the BeginnerExample. Otherwise, take examples from the newer years, since three.js is constantly changing.

Good luck. :slightly_smiling_face:

1 Like