I’m afraid there is no brief answer to this question. The three.js editor is a complete web application, and it is not written using React. Rewriting it in React would be a large endeavour.
You may find it more helpful to review examples already written in React, or libraries like Drei or Leva.