)
);
React.createElement("标签名","Object,包含div的props",'children子节点1','children子节点2','...')
----
这边是 JSX...ReactElement = function(type, key, ref, self, source, owner, props) {
const element = {
// This...因为react最终渲染到DOM上时,需要判断$$typeof===REACT_ELEMENT_TYPE
$$typeof: REACT_ELEMENT_TYPE,
// Built-in...properties that belong on the element
//设置元素的内置属性
type: type,
key: key,
ref: ref,...,并将其标记为React.Element对象($$typeof=REACT_ELEMENT_TYPE)
----