An example project integrating React with three.js
See the demo
Created in response to this question on Stack Overflow.
Take a look at VisWithHooks.jsx for the same example implemented using React Hooks.
VisWithHooks.jsx