React Top-Level API: React.createElement()
React.createElement()
Create and return a new React element of the given type (the type argument can be either a tag name string (such as 'div' or 'span'), a React component type (a class or a function), or a React fragment type).
Related concepts
→
React.createElement()
→
Semantic portal