E
E
Evgeny Kucherenko2016-12-20 19:48:23
WebGL
Evgeny Kucherenko, 2016-12-20 19:48:23

How to connect Threejs to React?

I'm doing a project on React, I'm thinking of switching from canvas to webgl (specifically the Threejs library). How to correctly connect this library in the case of React?
I have some element like <div ref="threejs"></div>. How to make it the context (field) of execution of the Threejs library?
PS: I don't want to use extensions like react-threejs

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question