React.createElement

By Xah Lee. Date: . Last updated: .

React.createElement takes three parameters, and returns a ReactElement.

https://reactjs.org/docs/react-api.html#createelement

createElement(type, [props], [children])