I work with React and use a canvas. I want to change the canvas to WebGL (Threejs library). How to connect this library to React?
I have some element, e.g.
I know question is a tad old, but if somebody's still looking for something. You'd try https://github.com/drcmda/react-three-fiber. They've some snippet and demos on their github.