React from version 0.14 further divided into two parts: React and ReactDOM. . You are using ReactDOM to render you HTML element . Therefore, it definitely makes sense for you to import ReactDOM in your Component. But as for React, although you are not using React directly, it is indirectly used, because everything you write in your function return statement will be transpiled into React.createElement , which will create the actual DOM elements.
Now you can see this, if you omit React in your code, you will see an error message that
no reaction
and this will give you that React is not recognised in React.createElement. I hope you understand this.
source share